Fixed showing ExportScreen on Desktop
This commit is contained in:
parent
fd87598b96
commit
0ff2f684ea
|
@ -23,5 +23,7 @@ fun ContentPane(
|
||||||
TransactionsList(uiState, uiSettings, isMobile)
|
TransactionsList(uiState, uiSettings, isMobile)
|
||||||
}
|
}
|
||||||
|
|
||||||
StateHandler(uiState, snackbarHostState)
|
if (isMobile) {
|
||||||
|
StateHandler(uiState, snackbarHostState)
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -2,10 +2,11 @@ package net.codinux.banking.ui.appskeleton
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.material.SnackbarHostState
|
import androidx.compose.material.SnackbarHostState
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.*
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.unit.Dp
|
import androidx.compose.ui.unit.Dp
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
|
import net.codinux.banking.ui.composables.StateHandler
|
||||||
import net.codinux.banking.ui.settings.UiSettings
|
import net.codinux.banking.ui.settings.UiSettings
|
||||||
import net.codinux.banking.ui.state.UiState
|
import net.codinux.banking.ui.state.UiState
|
||||||
|
|
||||||
|
@ -23,6 +24,8 @@ fun DesktopLayout(
|
||||||
}
|
}
|
||||||
|
|
||||||
Column(Modifier.fillMaxSize().weight(1f).padding(start = 6.dp)) {
|
Column(Modifier.fillMaxSize().weight(1f).padding(start = 6.dp)) {
|
||||||
|
StateHandler(uiState, snackbarHostState)
|
||||||
|
|
||||||
Row(Modifier.fillMaxWidth().weight(1f)) {
|
Row(Modifier.fillMaxWidth().weight(1f)) {
|
||||||
ContentPane(scaffoldPadding, uiState, uiSettings, snackbarHostState, false)
|
ContentPane(scaffoldPadding, uiState, uiSettings, snackbarHostState, false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue