Skip to content

Commit 9699545

Browse files
committed
Switch to normal TopAppBar
1 parent 252d64e commit 9699545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/androidMain/kotlin/de/dbauer/expensetracker/widget/ConfigureWidgetActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import androidx.compose.foundation.layout.fillMaxSize
1414
import androidx.compose.foundation.layout.padding
1515
import androidx.compose.foundation.layout.width
1616
import androidx.compose.material3.Button
17-
import androidx.compose.material3.CenterAlignedTopAppBar
1817
import androidx.compose.material3.ExperimentalMaterial3Api
1918
import androidx.compose.material3.Scaffold
2019
import androidx.compose.material3.Switch
2120
import androidx.compose.material3.Text
21+
import androidx.compose.material3.TopAppBar
2222
import androidx.compose.runtime.Composable
2323
import androidx.compose.ui.Alignment
2424
import androidx.compose.ui.Modifier
@@ -131,7 +131,7 @@ private fun ConfigurationContent(
131131
Scaffold(
132132
modifier = Modifier.fillMaxSize(),
133133
topBar = {
134-
CenterAlignedTopAppBar(
134+
TopAppBar(
135135
title = {
136136
Text(
137137
text = stringResource(Res.string.widget_configuration_title),

0 commit comments

Comments
 (0)