Skip to content

Commit

Permalink
chore: Global refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Dec 26, 2024
1 parent 2ee74fc commit 7dbb946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.material3.Surface
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.platform.LocalContext
import com.infomaniak.core2.compose.core.LockScreenOrientation
import com.infomaniak.swisstransfer.ui.screen.onboarding.OnboardingScreen
import com.infomaniak.swisstransfer.ui.theme.LocalWindowAdaptiveInfo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ sealed class MainNavigation : NavigationDestination() {
val startDestination = SentDestination

// If these classes have to be renamed, they need to be renamed here too.
val sentDestinationName = "SentDestination"
val receivedDestinationName = "ReceivedDestination"
val settingsDestinationName = "SettingsDestination"
private const val sentDestinationName = "SentDestination"
private const val receivedDestinationName = "ReceivedDestination"
private const val settingsDestinationName = "SettingsDestination"
val destinationsNames = listOf(sentDestinationName, receivedDestinationName, settingsDestinationName)

fun NavBackStackEntry.toMainDestination(): MainNavigation? {
Expand Down

0 comments on commit 7dbb946

Please sign in to comment.