Shorten settings descriptions
This commit is contained in:
parent
ea6f7cd323
commit
9b87bae700
3 changed files with 5 additions and 5 deletions
|
@ -143,7 +143,7 @@ fun BackupAndRestoreScreen() {
|
||||||
|
|
||||||
SettingsEntryGroupText(title = "BACKUP")
|
SettingsEntryGroupText(title = "BACKUP")
|
||||||
|
|
||||||
SettingsGroupDescription(text = "Exports the application database to the external storage.\nThis means playlists, song history, favorites songs will exported.\nThis operation excludes personal preferences (i.e. the theme mode) and the cache.")
|
SettingsGroupDescription(text = "Personal preferences (i.e. the theme mode) and the cache are excluded.")
|
||||||
|
|
||||||
SettingsEntry(
|
SettingsEntry(
|
||||||
title = "Backup",
|
title = "Backup",
|
||||||
|
@ -157,7 +157,7 @@ fun BackupAndRestoreScreen() {
|
||||||
|
|
||||||
SettingsEntryGroupText(title = "RESTORE")
|
SettingsEntryGroupText(title = "RESTORE")
|
||||||
|
|
||||||
SettingsGroupDescription(text = "Replaces the existing application database with the selected one.\nThis means every currently existing data will be wiped: the two databases won't be merged.\nIt is recommended to restore the database immediately after the application is installed on a new device.")
|
SettingsGroupDescription(text = "Existing data will be overwritten.")
|
||||||
|
|
||||||
SettingsEntry(
|
SettingsEntry(
|
||||||
title = "Restore",
|
title = "Restore",
|
||||||
|
|
|
@ -96,7 +96,7 @@ fun CacheSettingsScreen() {
|
||||||
|
|
||||||
SettingsTitle(text = "Cache")
|
SettingsTitle(text = "Cache")
|
||||||
|
|
||||||
SettingsDescription(text = "The cache follows the LRU (Least Recently Used) strategy: when it runs out of space, the resources that haven't been accessed for the longest time are cleared to accommodate the new ones.")
|
SettingsDescription(text = "When the cache runs out of space, the resources that haven't been accessed for the longest time are cleared.")
|
||||||
|
|
||||||
Coil.imageLoader(context).diskCache?.let { diskCache ->
|
Coil.imageLoader(context).diskCache?.let { diskCache ->
|
||||||
var diskCacheSize by remember(diskCache) {
|
var diskCacheSize by remember(diskCache) {
|
||||||
|
|
|
@ -101,10 +101,10 @@ fun OtherSettingsScreen() {
|
||||||
|
|
||||||
SettingsEntryGroupText(title = "SERVICE LIFETIME")
|
SettingsEntryGroupText(title = "SERVICE LIFETIME")
|
||||||
|
|
||||||
SettingsGroupDescription(text = "Some device manufacturers may have an aggressive policy against stopped foreground services - the media notification can disappear suddenly when paused.\nThe gentle approach consists in disabling battery optimizations - this is enough for some devices and ROMs.\nHowever, if it's not, you can make the service \"invincible\" - which should keep the service alive.")
|
SettingsGroupDescription(text = "If battery optimizations are applied, the playback notification can suddenly disappear when paused.")
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||||
SettingsDescription(text = "Since Android 12, the invincible service works ONLY if battery optimizations are disabled for this application.")
|
SettingsDescription(text = "Since Android 12, disabling battery optimizations is required for the \"Invincible service\" option to take effect.")
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingsEntry(
|
SettingsEntry(
|
||||||
|
|
Loading…
Reference in a new issue