diff --git a/features/profile/src/main/kotlin/app/dapk/st/profile/ProfileScreen.kt b/features/profile/src/main/kotlin/app/dapk/st/profile/ProfileScreen.kt index 1a3e20c..b4feac8 100644 --- a/features/profile/src/main/kotlin/app/dapk/st/profile/ProfileScreen.kt +++ b/features/profile/src/main/kotlin/app/dapk/st/profile/ProfileScreen.kt @@ -67,10 +67,6 @@ private fun ProfilePage(context: Context, viewModel: ProfileState, profile: Page .fillMaxWidth() .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() when (val state = profile.content) { 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") + } } }