remove trash
This commit is contained in:
+1
-2
@@ -39,8 +39,7 @@ fun BaseMainScreen(
|
||||
appBar = { appBar() },
|
||||
currentRoute = route,
|
||||
onSelectNavigation = { onNavigate(it) },
|
||||
navigationEntries = createNavigationList(),
|
||||
colorScheme = getColorScheme()
|
||||
navigationEntries = createNavigationList()
|
||||
) { padding -> content(padding) }
|
||||
}
|
||||
|
||||
|
||||
-7
@@ -1,7 +1,6 @@
|
||||
package ru.shadowsparky.vbox.shared.presentation
|
||||
|
||||
import androidx.compose.foundation.layout.PaddingValues
|
||||
import androidx.compose.material3.ColorScheme
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.SnackbarHostState
|
||||
import androidx.compose.material3.TopAppBarScrollBehavior
|
||||
@@ -28,11 +27,6 @@ import ru.shadowsparky.vbox.shared.presentation.settings.register.RegisterScreen
|
||||
import ru.shadowsparky.vbox.shared.presentation.settings.serv.EditServScreen
|
||||
import ru.shadowsparky.vbox.shared.presentation.settings.tag.TagScreen
|
||||
|
||||
@Composable
|
||||
fun getColorScheme(): ColorScheme {
|
||||
return ru.shadowsparky.ui.theme.getColorScheme()
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun Modifier.imePaddingInternal(): Modifier {
|
||||
return koin.get<UiConfiguration>().imePadding(this)
|
||||
@@ -94,7 +88,6 @@ fun AppScaffold(
|
||||
modifier,
|
||||
scrollBehavior,
|
||||
snackbarState,
|
||||
getColorScheme(),
|
||||
content = content,
|
||||
appBar = { appBar() }
|
||||
)
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ fun OfflineVideoScreen(component: OfflineVideoComponent) {
|
||||
TopAppBar(
|
||||
{ Text(stringResource(Res.string.offline_video)) },
|
||||
navigationIcon = {
|
||||
BackButton { component.onBack }
|
||||
BackButton { component.onBack() }
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user