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 ->
if (isMobile) {
AppContent(scaffoldPadding, uiState, uiSettings, snackbarHostState, isMobile)
ContentPane(scaffoldPadding, uiState, uiSettings, snackbarHostState, isMobile)
} else {
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
@Composable
fun AppContent(
fun ContentPane(
scaffoldPadding: PaddingValues,
uiState: UiState,
uiSettings: UiSettings,

View File

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