Renamed AppContent to ContentPane
This commit is contained in:
parent
004ca65fca
commit
0525d4ea77
|
@ -95,7 +95,7 @@ fun App() {
|
||||||
}
|
}
|
||||||
) { scaffoldPadding ->
|
) { scaffoldPadding ->
|
||||||
if (isMobile) {
|
if (isMobile) {
|
||||||
AppContent(scaffoldPadding, uiState, uiSettings, snackbarHostState, isMobile)
|
ContentPane(scaffoldPadding, uiState, uiSettings, snackbarHostState, isMobile)
|
||||||
} else {
|
} else {
|
||||||
DesktopLayout(scaffoldPadding, uiState, uiSettings, snackbarHostState, desktopDrawerWidth)
|
DesktopLayout(scaffoldPadding, uiState, uiSettings, snackbarHostState, desktopDrawerWidth)
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ import net.codinux.banking.ui.settings.UiSettings
|
||||||
import net.codinux.banking.ui.state.UiState
|
import net.codinux.banking.ui.state.UiState
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun AppContent(
|
fun ContentPane(
|
||||||
scaffoldPadding: PaddingValues,
|
scaffoldPadding: PaddingValues,
|
||||||
uiState: UiState,
|
uiState: UiState,
|
||||||
uiSettings: UiSettings,
|
uiSettings: UiSettings,
|
|
@ -24,7 +24,7 @@ fun DesktopLayout(
|
||||||
|
|
||||||
Column(Modifier.fillMaxSize().weight(1f).padding(start = 6.dp)) {
|
Column(Modifier.fillMaxSize().weight(1f).padding(start = 6.dp)) {
|
||||||
Row(Modifier.fillMaxWidth().weight(1f)) {
|
Row(Modifier.fillMaxWidth().weight(1f)) {
|
||||||
AppContent(scaffoldPadding, uiState, uiSettings, snackbarHostState, false)
|
ContentPane(scaffoldPadding, uiState, uiSettings, snackbarHostState, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
Row(Modifier.fillMaxWidth()) {
|
Row(Modifier.fillMaxWidth()) {
|
||||||
|
|
Loading…
Reference in New Issue