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