Renamed AppContent to ContentPane

This commit is contained in:
dankito 2024-09-09 03:56:33 +02:00
parent 004ca65fca
commit 0525d4ea77
3 changed files with 3 additions and 3 deletions

View File

@ -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)
} }

View File

@ -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,

View File

@ -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()) {