diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt index e55ae20..777830c 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt @@ -25,7 +25,6 @@ import net.codinux.banking.ui.composables.text.ItemDivider import net.codinux.banking.ui.config.Colors import net.codinux.banking.ui.config.DI import net.codinux.banking.ui.extensions.verticalScroll -import net.codinux.banking.ui.model.ShowTransferMoneyDialogData import org.jetbrains.compose.resources.imageResource private val uiState = DI.uiState @@ -58,8 +57,6 @@ fun SideMenuContent() { val accounts = uiState.accounts.collectAsState().value - val accountsThatSupportMoneyTransfer = uiState.accountsThatSupportMoneyTransfer.collectAsState().value - val coroutineScope = rememberCoroutineScope() Column(Modifier.fillMaxSize().background(Colors.DrawerContentBackground).verticalScroll()) { @@ -98,19 +95,6 @@ fun SideMenuContent() { drawerState.close() } } - - if (accountsThatSupportMoneyTransfer.isNotEmpty()) { - Spacer(Modifier.height(VerticalSpacing)) - - NavigationMenuItem(itemModifier, "Neue Überweisung", textColor, horizontalPadding = ItemHorizontalPadding, - icon = { Icon(Icons.Filled.Add, "Neue Überweisung", Modifier.size(iconSize), tint = textColor) }) { - uiState.showTransferMoneyDialogData.value = ShowTransferMoneyDialogData() - - coroutineScope.launch { - drawerState.close() - } - } - } } if (accounts.isNotEmpty()) {