mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3123 from omnivore-app/fix/android-library-header
Fix padding on library header on Android
This commit is contained in:
commit
a843719f9a
2 changed files with 7 additions and 8 deletions
|
|
@ -17,8 +17,8 @@ android {
|
|||
applicationId "app.omnivore.omnivore"
|
||||
minSdk 26
|
||||
targetSdk 33
|
||||
versionCode 132
|
||||
versionName "0.0.132"
|
||||
versionCode 142
|
||||
versionName "0.0.142"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
|
|
|
|||
|
|
@ -35,12 +35,11 @@ fun LibraryNavigationBar(
|
|||
val actionsMenuItem: SavedItemWithLabelsAndHighlights? by savedItemViewModel.actionsMenuItemLiveData.observeAsState(null)
|
||||
|
||||
TopAppBar(
|
||||
title = {
|
||||
Text(if (actionsMenuItem == null)
|
||||
stringResource(R.string.library_nav_bar_title) else
|
||||
stringResource(R.string.library_nav_bar_title_alt))
|
||||
},
|
||||
modifier = Modifier.statusBarsPadding(),
|
||||
title = {
|
||||
Text(if (actionsMenuItem == null)
|
||||
stringResource(R.string.library_nav_bar_title) else
|
||||
stringResource(R.string.library_nav_bar_title_alt))
|
||||
},
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = if (actionsMenuItem == null) MaterialTheme.colorScheme.background else MaterialTheme.colorScheme.surfaceVariant
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue