Minor cleanup
This commit is contained in:
@@ -65,9 +65,7 @@ fun AboutScreen(
|
||||
item {
|
||||
PreferenceRow(
|
||||
title = stringResource(R.string.check_for_updates),
|
||||
onClick = {
|
||||
checkVersion()
|
||||
},
|
||||
onClick = checkVersion,
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -75,9 +73,7 @@ fun AboutScreen(
|
||||
item {
|
||||
PreferenceRow(
|
||||
title = stringResource(R.string.whats_new),
|
||||
onClick = {
|
||||
uriHandler.openUri(RELEASE_URL)
|
||||
},
|
||||
onClick = { uriHandler.openUri(RELEASE_URL) },
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,21 +86,21 @@ fun MoreScreen(
|
||||
}
|
||||
},
|
||||
painter = rememberVectorPainter(Icons.Outlined.GetApp),
|
||||
onClick = { onClickDownloadQueue() },
|
||||
onClick = onClickDownloadQueue,
|
||||
)
|
||||
}
|
||||
item {
|
||||
PreferenceRow(
|
||||
title = stringResource(R.string.categories),
|
||||
painter = rememberVectorPainter(Icons.Outlined.Label),
|
||||
onClick = { onClickCategories() },
|
||||
onClick = onClickCategories,
|
||||
)
|
||||
}
|
||||
item {
|
||||
PreferenceRow(
|
||||
title = stringResource(R.string.label_backup),
|
||||
painter = rememberVectorPainter(Icons.Outlined.SettingsBackupRestore),
|
||||
onClick = { onClickBackupAndRestore() },
|
||||
onClick = onClickBackupAndRestore,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -110,14 +110,14 @@ fun MoreScreen(
|
||||
PreferenceRow(
|
||||
title = stringResource(R.string.label_settings),
|
||||
painter = rememberVectorPainter(Icons.Outlined.Settings),
|
||||
onClick = { onClickSettings() },
|
||||
onClick = onClickSettings,
|
||||
)
|
||||
}
|
||||
item {
|
||||
PreferenceRow(
|
||||
title = stringResource(R.string.pref_category_about),
|
||||
painter = rememberVectorPainter(Icons.Outlined.Info),
|
||||
onClick = { onClickAbout() },
|
||||
onClick = onClickAbout,
|
||||
)
|
||||
}
|
||||
item {
|
||||
|
||||
Reference in New Issue
Block a user