Replaced mediumTopAppBarColors with topAppBarColors
This commit is contained in:
@ -71,7 +71,7 @@ private fun AboutScreen(onBack: () -> Unit) {
|
||||
)
|
||||
}
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0)
|
||||
|
||||
@ -167,7 +167,7 @@ private fun AccountScreen(
|
||||
)
|
||||
}
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
)
|
||||
)
|
||||
|
||||
@ -95,7 +95,7 @@ fun AccountsScreen(navController: NavController) {
|
||||
)
|
||||
}
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0)
|
||||
|
||||
@ -107,7 +107,7 @@ private fun TopAppBar(title: String, navController: NavController) {
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0),
|
||||
|
||||
@ -120,7 +120,7 @@ private fun AudioScreen(
|
||||
)
|
||||
}
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
)
|
||||
)
|
||||
|
||||
@ -235,7 +235,7 @@ private fun TopAppBar(title: String, onBack: () -> Unit, onCheck: () -> Unit) {
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0),
|
||||
|
||||
@ -86,7 +86,7 @@ private fun CallDetailsScreen(navController: NavController, callRow: CallRow) {
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0),
|
||||
|
||||
@ -152,7 +152,7 @@ private fun TopAppBar(navController: NavController, account: Account, callHistor
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0),
|
||||
|
||||
@ -213,7 +213,7 @@ private fun TopAppBar(
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
navigationIcon = {
|
||||
|
||||
@ -221,7 +221,7 @@ private fun TopAppBar(
|
||||
}
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
)
|
||||
)
|
||||
|
||||
@ -122,7 +122,7 @@ private fun CodecsScreen(
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0),
|
||||
|
||||
@ -96,7 +96,7 @@ private fun ContactsScreen(navController: NavController, viewModel: ViewModel) {
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
navigationIcon = {
|
||||
|
||||
@ -499,7 +499,7 @@ private fun TopAppBar(
|
||||
fontWeight = FontWeight.Bold
|
||||
)
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
),
|
||||
windowInsets = WindowInsets(0, 0, 0, 0),
|
||||
|
||||
@ -182,7 +182,7 @@ private fun SettingsScreen(
|
||||
)
|
||||
}
|
||||
},
|
||||
colors = TopAppBarDefaults.mediumTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = LocalCustomColors.current.primary
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user