Skip to content

Commit

Permalink
feat: refactor naming of splash
Browse files Browse the repository at this point in the history
  • Loading branch information
yamilmedina committed Jan 20, 2025
1 parent 291198c commit d67da54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.text.style.TextAlign
import com.wire.android.ui.MainBackgroundComponent
import com.wire.android.ui.common.colorsScheme
import com.wire.android.ui.common.dimensions
import com.wire.android.ui.common.scaffold.WireScaffold
Expand Down Expand Up @@ -100,7 +99,7 @@ private fun NewLoginContent(
}
) { _ ->
Column {
MainBackgroundComponent()
WireAuthBackgroundComponent()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Wire
* Copyright (C) 2024 Wire Swiss GmbH
* Copyright (C) 2025 Wire Swiss GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
package com.wire.android.ui
package com.wire.android.ui.authentication.login

import android.annotation.SuppressLint
import androidx.compose.foundation.Image
Expand All @@ -35,7 +35,7 @@ import com.wire.android.ui.theme.WireTheme
import com.wire.android.util.ui.PreviewMultipleThemes

@Composable
fun MainBackgroundComponent() {
fun WireAuthBackgroundComponent() {
MainBackgroundContent()
}

Expand All @@ -58,6 +58,6 @@ private fun MainBackgroundContent() {
@PreviewMultipleThemes
@Preview(showSystemUi = true)
@Composable
private fun PreviewSplashScreen() = WireTheme {
private fun PreviewWireAuthBackgroundComponent() = WireTheme {
MainBackgroundContent()
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import com.wire.android.navigation.NavigationCommand
import com.wire.android.navigation.Navigator
import com.wire.android.navigation.WireDestination
import com.wire.android.navigation.style.PopUpNavigationAnimation
import com.wire.android.ui.MainBackgroundComponent
import com.wire.android.ui.authentication.login.WireAuthBackgroundComponent
import com.wire.android.ui.common.dialogs.FeatureDisabledWithProxyDialogContent
import com.wire.android.ui.common.dialogs.FeatureDisabledWithProxyDialogState
import com.wire.android.ui.common.dialogs.MaxAccountsReachedDialog
Expand Down Expand Up @@ -65,7 +65,7 @@ private fun WelcomeContent(
navigateBack: () -> Unit,
navigate: (NavigationCommand) -> Unit
) {
MainBackgroundComponent()
WireAuthBackgroundComponent()
val enterpriseDisabledWithProxyDialogState = rememberVisibilityState<FeatureDisabledWithProxyDialogState>()
val createPersonalAccountDisabledWithProxyDialogState = rememberVisibilityState<FeatureDisabledWithProxyDialogState>()
val context = LocalContext.current
Expand Down

0 comments on commit d67da54

Please sign in to comment.