Added scrolling to settings screen
This commit is contained in:
parent
7580e8ab62
commit
32ffd5c2f2
1 changed files with 4 additions and 2 deletions
|
|
@ -3,12 +3,11 @@
|
||||||
* Licensed under the Open Software License version 3.0
|
* Licensed under the Open Software License version 3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
package com.aliucord.manager.ui.screens
|
package com.aliucord.manager.ui.screens
|
||||||
|
|
||||||
import androidx.activity.compose.rememberLauncherForActivityResult
|
import androidx.activity.compose.rememberLauncherForActivityResult
|
||||||
import androidx.activity.result.contract.ActivityResultContracts
|
import androidx.activity.result.contract.ActivityResultContracts
|
||||||
import androidx.compose.foundation.clickable
|
import androidx.compose.foundation.*
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.material.ContentAlpha
|
import androidx.compose.material.ContentAlpha
|
||||||
import androidx.compose.material3.*
|
import androidx.compose.material3.*
|
||||||
|
|
@ -29,6 +28,9 @@ import com.ramcosta.composedestinations.annotation.Destination
|
||||||
@Destination
|
@Destination
|
||||||
@Composable
|
@Composable
|
||||||
fun SettingsScreen() = Column(
|
fun SettingsScreen() = Column(
|
||||||
|
modifier = Modifier.verticalScroll(
|
||||||
|
state = rememberScrollState()
|
||||||
|
),
|
||||||
verticalArrangement = Arrangement.spacedBy(12.dp)
|
verticalArrangement = Arrangement.spacedBy(12.dp)
|
||||||
) {
|
) {
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue