Added scrolling to settings screen

This commit is contained in:
zt64 2022-03-25 14:19:41 -04:00
parent 7580e8ab62
commit 32ffd5c2f2

View file

@ -3,12 +3,11 @@
* Licensed under the Open Software License version 3.0
*/
package com.aliucord.manager.ui.screens
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.clickable
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.material.ContentAlpha
import androidx.compose.material3.*
@ -29,6 +28,9 @@ import com.ramcosta.composedestinations.annotation.Destination
@Destination
@Composable
fun SettingsScreen() = Column(
modifier = Modifier.verticalScroll(
state = rememberScrollState()
),
verticalArrangement = Arrangement.spacedBy(12.dp)
) {
val context = LocalContext.current