[Architecture] use impl instead of implementation

This commit is contained in:
ganfra 2023-03-02 15:49:20 +01:00
parent 5db0008116
commit a1a9ae1f28
23 changed files with 33 additions and 33 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation
package io.element.android.features.login.impl
import com.bumble.appyx.core.modality.BuildContext
import com.bumble.appyx.core.node.Node

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation
package io.element.android.features.login.impl
import android.os.Parcelable
import androidx.compose.runtime.Composable
@ -29,8 +29,8 @@ import com.bumble.appyx.navmodel.backstack.operation.push
import dagger.assisted.Assisted
import dagger.assisted.AssistedInject
import io.element.android.anvilannotations.ContributesNode
import io.element.android.features.login.implementation.changeserver.ChangeServerNode
import io.element.android.features.login.implementation.root.LoginRootNode
import io.element.android.features.login.impl.changeserver.ChangeServerNode
import io.element.android.features.login.impl.root.LoginRootNode
import io.element.android.libraries.architecture.animation.rememberDefaultTransitionHandler
import io.element.android.libraries.architecture.createNode
import io.element.android.libraries.di.AppScope

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.changeserver
package io.element.android.features.login.impl.changeserver
sealed interface ChangeServerEvents {
data class SetServer(val server: String) : ChangeServerEvents

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.changeserver
package io.element.android.features.login.impl.changeserver
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.changeserver
package io.element.android.features.login.impl.changeserver
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.changeserver
package io.element.android.features.login.impl.changeserver
import io.element.android.libraries.architecture.Async

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.changeserver
package io.element.android.features.login.impl.changeserver
import androidx.compose.ui.tooling.preview.PreviewParameterProvider
import io.element.android.libraries.architecture.Async

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.changeserver
package io.element.android.features.login.impl.changeserver
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
@ -46,7 +46,7 @@ import androidx.compose.ui.tooling.preview.PreviewParameter
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import io.element.android.features.login.R
import io.element.android.features.login.implementation.error.changeServerError
import io.element.android.features.login.impl.error.changeServerError
import io.element.android.libraries.architecture.Async
import io.element.android.libraries.designsystem.components.form.textFieldState
import io.element.android.libraries.designsystem.preview.ElementPreviewDark

View file

@ -14,11 +14,11 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.error
package io.element.android.features.login.impl.error
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import io.element.android.features.login.implementation.root.LoginFormState
import io.element.android.features.login.impl.root.LoginFormState
import io.element.android.libraries.core.uri.isValidUrl
import io.element.android.libraries.ui.strings.R as StringR

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.root
package io.element.android.features.login.impl.root
sealed interface LoginRootEvents {
object RefreshHomeServer : LoginRootEvents

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.root
package io.element.android.features.login.impl.root
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.root
package io.element.android.features.login.impl.root
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.root
package io.element.android.features.login.impl.root
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
@ -48,7 +48,7 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import io.element.android.features.login.implementation.error.loginError
import io.element.android.features.login.impl.error.loginError
import io.element.android.libraries.designsystem.components.form.textFieldState
import io.element.android.libraries.designsystem.preview.ElementPreviewDark
import io.element.android.libraries.designsystem.preview.ElementPreviewLight

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.root
package io.element.android.features.login.impl.root
import android.os.Parcelable
import io.element.android.libraries.matrix.core.SessionId

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.login.implementation.root
package io.element.android.features.login.impl.root
fun aLoginRootState() = LoginRootState(
homeserver = "",

View file

@ -22,8 +22,8 @@ import app.cash.molecule.RecompositionClock
import app.cash.molecule.moleculeFlow
import app.cash.turbine.test
import com.google.common.truth.Truth.assertThat
import io.element.android.features.login.implementation.changeserver.ChangeServerEvents
import io.element.android.features.login.implementation.changeserver.ChangeServerPresenter
import io.element.android.features.login.impl.changeserver.ChangeServerEvents
import io.element.android.features.login.impl.changeserver.ChangeServerPresenter
import io.element.android.libraries.architecture.Async
import io.element.android.libraries.matrixtest.A_HOMESERVER
import io.element.android.libraries.matrixtest.auth.FakeAuthenticationService

View file

@ -22,10 +22,10 @@ import app.cash.molecule.RecompositionClock
import app.cash.molecule.moleculeFlow
import app.cash.turbine.test
import com.google.common.truth.Truth.assertThat
import io.element.android.features.login.implementation.root.LoggedInState
import io.element.android.features.login.implementation.root.LoginFormState
import io.element.android.features.login.implementation.root.LoginRootEvents
import io.element.android.features.login.implementation.root.LoginRootPresenter
import io.element.android.features.login.impl.root.LoggedInState
import io.element.android.features.login.impl.root.LoginFormState
import io.element.android.features.login.impl.root.LoginRootEvents
import io.element.android.features.login.impl.root.LoginRootPresenter
import io.element.android.libraries.matrix.core.SessionId
import io.element.android.libraries.matrixtest.A_HOMESERVER
import io.element.android.libraries.matrixtest.A_HOMESERVER_2

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.onboarding.implementation
package io.element.android.features.onboarding.impl
import com.bumble.appyx.core.modality.BuildContext
import com.bumble.appyx.core.node.Node

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.onboarding.implementation
package io.element.android.features.onboarding.impl
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.onboarding.implementation
package io.element.android.features.onboarding.impl
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.onboarding.implementation
package io.element.android.features.onboarding.impl
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package io.element.android.features.onboarding.implementation
package io.element.android.features.onboarding.impl
import androidx.annotation.DrawableRes
import io.element.android.features.onboarding.R

View file

@ -19,8 +19,8 @@ package io.element.android.samples.minimal
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import io.element.android.features.login.implementation.root.LoginRootPresenter
import io.element.android.features.login.implementation.root.LoginRootScreen
import io.element.android.features.login.impl.root.LoginRootPresenter
import io.element.android.features.login.impl.root.LoginRootScreen
import io.element.android.libraries.matrix.auth.MatrixAuthenticationService
class LoginScreen(private val authenticationService: MatrixAuthenticationService) {