diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/devsettings/DevSettingsNav.kt b/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/devsettings/DevSettingsNav.kt index fb1783d7c9..99c7074e50 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/devsettings/DevSettingsNav.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/devsettings/DevSettingsNav.kt @@ -3,7 +3,6 @@ package com.babylon.wallet.android.presentation.account.settings.devsettings import androidx.annotation.VisibleForTesting import androidx.compose.animation.AnimatedContentTransitionScope import androidx.compose.animation.EnterTransition -import androidx.compose.animation.ExperimentalAnimationApi import androidx.hilt.navigation.compose.hiltViewModel import androidx.lifecycle.SavedStateHandle import androidx.navigation.NavController @@ -27,7 +26,6 @@ fun NavController.devSettings(address: String) { navigate("dev_account_settings_route/$address") } -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.devSettings( onBackClick: () -> Unit ) { diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/specificassets/SpecificAssetsDepositsNav.kt b/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/specificassets/SpecificAssetsDepositsNav.kt index 76b8825fb9..8858a9dc49 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/specificassets/SpecificAssetsDepositsNav.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/account/settings/specificassets/SpecificAssetsDepositsNav.kt @@ -2,7 +2,6 @@ package com.babylon.wallet.android.presentation.account.settings.specificassets import androidx.compose.animation.AnimatedContentTransitionScope import androidx.compose.animation.EnterTransition -import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.runtime.remember import androidx.hilt.navigation.compose.hiltViewModel import androidx.navigation.NavController @@ -15,7 +14,6 @@ fun NavController.specificAssets() { navigate("account_specific_assets_route") } -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.specificAssets(navController: NavController, onBackClick: () -> Unit) { composable( route = "account_specific_assets_route", diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/dapp/authorized/personaongoing/PersonaDataOngoingNav.kt b/app/src/main/java/com/babylon/wallet/android/presentation/dapp/authorized/personaongoing/PersonaDataOngoingNav.kt index fdd39b6b14..13e626e8ae 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/dapp/authorized/personaongoing/PersonaDataOngoingNav.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/dapp/authorized/personaongoing/PersonaDataOngoingNav.kt @@ -2,7 +2,6 @@ package com.babylon.wallet.android.presentation.dapp.authorized.personaongoing import android.net.Uri import androidx.annotation.VisibleForTesting -import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.runtime.remember import androidx.hilt.navigation.compose.hiltViewModel import androidx.lifecycle.SavedStateHandle @@ -41,7 +40,6 @@ fun NavController.personaDataOngoing(personaAddress: String, request: RequiredPe } @Suppress("LongParameterList") -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.personaDataOngoing( onEdit: (PersonaDataOngoingEvent.OnEditPersona) -> Unit, onBackClick: () -> Unit, diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/navigation/NavigationHost.kt b/app/src/main/java/com/babylon/wallet/android/presentation/navigation/NavigationHost.kt index 8087d6bde7..78f28ea973 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/navigation/NavigationHost.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/navigation/NavigationHost.kt @@ -2,7 +2,6 @@ package com.babylon.wallet.android.presentation.navigation import androidx.compose.animation.EnterTransition import androidx.compose.animation.ExitTransition -import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.hilt.navigation.compose.hiltViewModel @@ -73,7 +72,6 @@ import com.babylon.wallet.android.presentation.transfer.transferScreen import kotlinx.coroutines.flow.StateFlow import rdx.works.profile.domain.backup.BackupType -@OptIn(ExperimentalAnimationApi::class) @Composable fun NavigationHost( modifier: Modifier = Modifier, diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/onboarding/OnboardingScreen.kt b/app/src/main/java/com/babylon/wallet/android/presentation/onboarding/OnboardingScreen.kt index 9a72915dc4..9dcf5c07ac 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/onboarding/OnboardingScreen.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/onboarding/OnboardingScreen.kt @@ -1,7 +1,6 @@ package com.babylon.wallet.android.presentation.onboarding import androidx.activity.compose.BackHandler -import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize @@ -28,7 +27,6 @@ import com.babylon.wallet.android.designsystem.composable.RadixTextButton import com.babylon.wallet.android.designsystem.theme.RadixTheme import com.babylon.wallet.android.designsystem.theme.RadixWalletTheme -@ExperimentalAnimationApi @Composable fun OnboardingScreen( viewModel: OnboardingViewModel, diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/settings/accountsecurity/seedphrases/confirm/ConfirmMnemonicNav.kt b/app/src/main/java/com/babylon/wallet/android/presentation/settings/accountsecurity/seedphrases/confirm/ConfirmMnemonicNav.kt index 80bd2c3e00..d51b3b1340 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/settings/accountsecurity/seedphrases/confirm/ConfirmMnemonicNav.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/settings/accountsecurity/seedphrases/confirm/ConfirmMnemonicNav.kt @@ -1,7 +1,6 @@ package com.babylon.wallet.android.presentation.settings.accountsecurity.seedphrases.confirm import androidx.compose.animation.AnimatedContentTransitionScope -import androidx.compose.animation.ExperimentalAnimationApi import androidx.hilt.navigation.compose.hiltViewModel import androidx.lifecycle.SavedStateHandle import androidx.navigation.NavController @@ -29,7 +28,6 @@ internal class ConfirmSeedPhraseArgs(val factorSourceId: String, val mnemonicSiz ) } -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.confirmSeedPhrase( onMnemonicBackedUp: () -> Unit, onDismiss: () -> Unit diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/settings/appsettings/AppSettingsNav.kt b/app/src/main/java/com/babylon/wallet/android/presentation/settings/appsettings/AppSettingsNav.kt index 680cb56083..3ffb9d87b4 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/settings/appsettings/AppSettingsNav.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/settings/appsettings/AppSettingsNav.kt @@ -2,7 +2,6 @@ package com.babylon.wallet.android.presentation.settings.appsettings import androidx.compose.animation.AnimatedContentTransitionScope import androidx.compose.animation.EnterTransition -import androidx.compose.animation.ExperimentalAnimationApi import androidx.hilt.navigation.compose.hiltViewModel import androidx.navigation.NavController import androidx.navigation.NavGraphBuilder @@ -43,7 +42,6 @@ fun NavGraphBuilder.appSettingsNavGraph( } } -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.appSettingsScreen( navController: NavController ) { @@ -87,7 +85,6 @@ fun NavGraphBuilder.appSettingsScreen( } } -@OptIn(ExperimentalAnimationApi::class) private fun NavGraphBuilder.settingsGateway(navController: NavController) { composable( route = Screen.SettingsEditGatewayApiDestination.route, diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/settings/personas/createpersona/CreatePersonaNav.kt b/app/src/main/java/com/babylon/wallet/android/presentation/settings/personas/createpersona/CreatePersonaNav.kt index 373d720eff..daa4eaf972 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/settings/personas/createpersona/CreatePersonaNav.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/settings/personas/createpersona/CreatePersonaNav.kt @@ -3,7 +3,6 @@ package com.babylon.wallet.android.presentation.settings.personas.createpersona import androidx.compose.animation.AnimatedContentTransitionScope import androidx.compose.animation.EnterTransition import androidx.compose.animation.ExitTransition -import androidx.compose.animation.ExperimentalAnimationApi import androidx.hilt.navigation.compose.hiltViewModel import androidx.navigation.NavController import androidx.navigation.NavGraphBuilder @@ -68,7 +67,6 @@ fun NavGraphBuilder.personaInfoScreen( } } -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.createPersonaScreen( onBackClick: () -> Unit, onContinueClick: (personaId: String) -> Unit @@ -98,7 +96,6 @@ fun NavGraphBuilder.createPersonaScreen( } } -@OptIn(ExperimentalAnimationApi::class) fun NavGraphBuilder.personasScreen( onBackClick: () -> Unit, createPersonaScreen: (Boolean) -> Unit,