Loading elibcompose/src/main/java/foundation/e/elibcompose/widgets/settings/SettingsAppBar.kt +4 −5 Original line number Diff line number Diff line Loading @@ -22,15 +22,14 @@ import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.LargeTopAppBar import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.material3.TopAppBarDefaults import androidx.compose.material3.TopAppBarScrollBehavior import androidx.compose.runtime.Composable import androidx.compose.ui.res.colorResource import androidx.compose.ui.text.TextStyle import androidx.compose.ui.unit.lerp import androidx.compose.ui.unit.sp import foundation.e.elib.R as eR @OptIn(ExperimentalMaterial3Api::class) @Composable Loading @@ -44,9 +43,9 @@ fun SettingsAppBar( LargeTopAppBar( colors = TopAppBarDefaults.topAppBarColors( containerColor = colorResource(eR.color.e_action_bar), titleContentColor = colorResource(eR.color.e_primary_text_color), scrolledContainerColor = colorResource(eR.color.e_action_bar), containerColor = MaterialTheme.colorScheme.background, titleContentColor = MaterialTheme.colorScheme.onBackground, scrolledContainerColor = MaterialTheme.colorScheme.primary, ), title = { Text(title, style = TextStyle(fontSize = textSize)) }, scrollBehavior = scrollBehavior, Loading Loading
elibcompose/src/main/java/foundation/e/elibcompose/widgets/settings/SettingsAppBar.kt +4 −5 Original line number Diff line number Diff line Loading @@ -22,15 +22,14 @@ import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.LargeTopAppBar import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.material3.TopAppBarDefaults import androidx.compose.material3.TopAppBarScrollBehavior import androidx.compose.runtime.Composable import androidx.compose.ui.res.colorResource import androidx.compose.ui.text.TextStyle import androidx.compose.ui.unit.lerp import androidx.compose.ui.unit.sp import foundation.e.elib.R as eR @OptIn(ExperimentalMaterial3Api::class) @Composable Loading @@ -44,9 +43,9 @@ fun SettingsAppBar( LargeTopAppBar( colors = TopAppBarDefaults.topAppBarColors( containerColor = colorResource(eR.color.e_action_bar), titleContentColor = colorResource(eR.color.e_primary_text_color), scrolledContainerColor = colorResource(eR.color.e_action_bar), containerColor = MaterialTheme.colorScheme.background, titleContentColor = MaterialTheme.colorScheme.onBackground, scrolledContainerColor = MaterialTheme.colorScheme.primary, ), title = { Text(title, style = TextStyle(fontSize = textSize)) }, scrollBehavior = scrollBehavior, Loading