Compare commits
No commits in common. "d4a0d458e3e4893cca5ac2ba85bef8e1ca1df674" and "1021025f5c38d67b6edb6daf8f0f8b7558fb9c3f" have entirely different histories.
d4a0d458e3
...
1021025f5c
@ -4,7 +4,6 @@ import android.os.Build
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import androidx.annotation.RequiresApi
|
||||
import androidx.compose.foundation.Image
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
@ -22,6 +21,7 @@ import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.filled.Menu
|
||||
import androidx.compose.material.icons.filled.Notifications
|
||||
import androidx.compose.material.icons.filled.Sync
|
||||
import androidx.compose.animation.core.tween
|
||||
import androidx.compose.material3.AlertDialog
|
||||
import androidx.compose.material3.DrawerValue
|
||||
import androidx.compose.material3.Icon
|
||||
@ -47,6 +47,8 @@ import androidx.compose.ui.layout.ContentScale
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.foundation.Image
|
||||
import coil3.compose.AsyncImage
|
||||
import com.mob.utsmyanmar.R
|
||||
import com.mob.utsmyanmar.ui.components.appbar.AppBar
|
||||
import com.mob.utsmyanmar.ui.device_info.DeviceInfoUiState
|
||||
|
||||
@ -119,13 +119,6 @@ fun AppNavGraph(
|
||||
}
|
||||
}
|
||||
|
||||
"Pre-Auth",
|
||||
"Cash Out" -> {
|
||||
navController.navigate(Routes.Amount.createRoute(action)) {
|
||||
launchSingleTop = true
|
||||
}
|
||||
}
|
||||
|
||||
else -> {
|
||||
navController.navigate(
|
||||
Routes.Password.createRoute(
|
||||
@ -152,17 +145,6 @@ fun AppNavGraph(
|
||||
}
|
||||
}
|
||||
|
||||
"Pre-Auth",
|
||||
"Cash Out" -> {
|
||||
sharedViewModel.transactionsType.value = when (action) {
|
||||
"Pre-Auth" -> TransactionsType.PRE_AUTH_SALE
|
||||
else -> TransactionsType.CASH_OUT
|
||||
}
|
||||
navController.navigate(Routes.Amount.createRoute(action)) {
|
||||
launchSingleTop = true
|
||||
}
|
||||
}
|
||||
|
||||
"Pre-Auth Complete Void" -> {
|
||||
sharedViewModel.transactionsType.value = TransactionsType.PRE_AUTH_COMPLETE_VOID
|
||||
navController.navigate(
|
||||
@ -246,18 +228,6 @@ fun AppNavGraph(
|
||||
launchSingleTop = true
|
||||
}
|
||||
}
|
||||
|
||||
"Pre-Auth",
|
||||
"Cash Out" -> {
|
||||
sharedViewModel.transactionsType.value = when (action) {
|
||||
"Pre-Auth" -> TransactionsType.PRE_AUTH_SALE
|
||||
else -> TransactionsType.CASH_OUT
|
||||
}
|
||||
navController.navigate(Routes.Amount.createRoute(action)) {
|
||||
launchSingleTop = true
|
||||
}
|
||||
}
|
||||
|
||||
"Pre-Auth Complete Void" -> {
|
||||
sharedViewModel.transactionsType.value = TransactionsType.PRE_AUTH_COMPLETE_VOID
|
||||
navController.navigate(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user