manager:Adjust the text display of setting items to allow multi-line text descriptions

This commit is contained in:
ShirkNeko
2025-06-18 00:12:27 +08:00
parent edf7685e9a
commit bfb6ea3613
2 changed files with 6 additions and 6 deletions

View File

@@ -1311,8 +1311,8 @@ fun SettingItem(
Text(
text = title,
style = MaterialTheme.typography.titleMedium,
maxLines = 1,
overflow = TextOverflow.Ellipsis
maxLines = Int.MAX_VALUE,
overflow = TextOverflow.Visible
)
if (subtitle != null) {
Spacer(modifier = Modifier.height(2.dp))
@@ -1320,8 +1320,8 @@ fun SettingItem(
text = subtitle,
style = MaterialTheme.typography.bodyMedium,
color = MaterialTheme.colorScheme.onSurfaceVariant,
maxLines = 2,
overflow = TextOverflow.Ellipsis
maxLines = Int.MAX_VALUE,
overflow = TextOverflow.Visible
)
}
}

View File

@@ -480,9 +480,9 @@
<string name="susfs_reset_mounts_message">This will clear all SUS mount configurations. Are you sure you want to continue?</string>
<string name="susfs_reset_umounts_title">Reset Try Umount</string>
<string name="susfs_reset_umounts_message">This will clear all try umount configurations. Are you sure you want to continue?</string>
<string name="susfs_reset_path_title">Reset Path Settingss</string>
<string name="susfs_reset_path_title">Reset Path Settings</string>
<!-- SuSFS Path Settings -->
<string name="susfs_path_settings">Path Settingss</string>
<string name="susfs_path_settings">Path Settings</string>
<string name="susfs_android_data_path_label">Android Data Path</string>
<string name="susfs_sdcard_path_label">SD Card Path</string>
<string name="susfs_set_android_data_path">Set Android Data Path</string>