fixing profile toolbar ordering
This commit is contained in:
parent
2a17f9d165
commit
2e12e5e089
|
@ -67,10 +67,6 @@ private fun ProfilePage(context: Context, viewModel: ProfileState, profile: Page
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(8.dp), contentAlignment = Alignment.TopEnd
|
.padding(8.dp), contentAlignment = Alignment.TopEnd
|
||||||
) {
|
) {
|
||||||
IconButton(onClick = { context.startActivity(Intent(context, SettingsActivity::class.java)) }) {
|
|
||||||
Icon(imageVector = Icons.Filled.Settings, contentDescription = "Settings")
|
|
||||||
}
|
|
||||||
|
|
||||||
val scrollState = rememberScrollState()
|
val scrollState = rememberScrollState()
|
||||||
when (val state = profile.content) {
|
when (val state = profile.content) {
|
||||||
is Lce.Loading -> CenteredLoading()
|
is Lce.Loading -> CenteredLoading()
|
||||||
|
@ -123,6 +119,9 @@ private fun ProfilePage(context: Context, viewModel: ProfileState, profile: Page
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
IconButton(onClick = { context.startActivity(Intent(context, SettingsActivity::class.java)) }) {
|
||||||
|
Icon(imageVector = Icons.Filled.Settings, contentDescription = "Settings")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue