mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-19 07:15:25 +02:00
feat(ui): Add more space to SectionTitle.kt
This commit is contained in:
parent
0192af584c
commit
ce50ed1d68
@ -4,7 +4,11 @@ import androidx.compose.foundation.layout.Arrangement
|
|||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
|
import androidx.compose.foundation.layout.padding
|
||||||
|
import androidx.compose.material.icons.Icons
|
||||||
|
import androidx.compose.material.icons.filled.Mic
|
||||||
import androidx.compose.material3.Divider
|
import androidx.compose.material3.Divider
|
||||||
|
import androidx.compose.material3.Icon
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
@ -14,7 +18,9 @@ import androidx.compose.ui.unit.dp
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun DividerTitle(
|
fun DividerTitle(
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.padding(vertical = 32.dp),
|
||||||
title: String,
|
title: String,
|
||||||
description: String,
|
description: String,
|
||||||
) {
|
) {
|
||||||
|
@ -158,8 +158,6 @@ fun SettingsScreen(
|
|||||||
SaveFolderTile(settings = settings)
|
SaveFolderTile(settings = settings)
|
||||||
|
|
||||||
DividerTitle(
|
DividerTitle(
|
||||||
modifier = Modifier
|
|
||||||
.fillMaxWidth(),
|
|
||||||
title = stringResource(R.string.ui_settings_sections_audio_title),
|
title = stringResource(R.string.ui_settings_sections_audio_title),
|
||||||
description = stringResource(R.string.ui_settings_sections_audio_description),
|
description = stringResource(R.string.ui_settings_sections_audio_description),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user