@@ -179,25 +179,25 @@ fun SubscriptionsScreen(
179179 ) {
180180 Scaffold (
181181 topBar = {
182- if (state.subscriptions.isNotEmpty()) {
183- TopBar (
184- isTopLevelScreen = true ,
185- onNavIconClick = onNavDrawerClick,
186- title = {
182+ TopBar (
183+ isTopLevelScreen = true ,
184+ onNavIconClick = onNavDrawerClick ,
185+ title = {
186+ if (state.subscriptions.isNotEmpty()) {
187187 Text (
188188 text = strings.subscriptions_label,
189189 color = MaterialTheme .colorScheme.onPrimaryTertiary,
190190 style = MaterialTheme .typography.titleMedium,
191191 )
192- },
193- colors = TopAppBarDefaults .topAppBarColors(
194- containerColor = MaterialTheme .colorScheme.primaryTertiary,
195- navigationIconContentColor = MaterialTheme .colorScheme.onPrimaryTertiary ,
196- actionIconContentColor = MaterialTheme .colorScheme.onPrimaryTertiary,
197- ) ,
198- modifier = Modifier .fillMaxWidth( ),
199- )
200- }
192+ }
193+ },
194+ colors = TopAppBarDefaults .topAppBarColors(
195+ containerColor = MaterialTheme .colorScheme.primaryTertiary ,
196+ navigationIconContentColor = MaterialTheme .colorScheme.onPrimaryTertiary,
197+ actionIconContentColor = MaterialTheme .colorScheme.onPrimaryTertiary ,
198+ ),
199+ modifier = Modifier .fillMaxWidth(),
200+ )
201201 },
202202 containerColor = MaterialTheme .colorScheme.surface,
203203 snackbarHost = {
0 commit comments