Skip to content

Unofficial YouTube Music / Spotify Premium client for Android, built in Liquid Glass. Audio effects, Spotify Connect, listening history, 8 languages. Rust core on librespot.

The permissions last on the About page

Lelonio5a50e54c7fc3
diff --git a/app/src/main/java/dev/lelonio/square/ui/settings/SettingsScreen.kt b/app/src/main/java/dev/lelonio/square/ui/settings/SettingsScreen.kt
index 3d587be..ac08822 100644
--- a/app/src/main/java/dev/lelonio/square/ui/settings/SettingsScreen.kt
+++ b/app/src/main/java/dev/lelonio/square/ui/settings/SettingsScreen.kt
@@ -338,21 +338,6 @@ fun SettingsScreen(
}
}
- if (open == SettingsPage.About) item("permissions") {
- Section(stringResource(R.string.permissions_asked)) {
- Text(
- stringResource(R.string.permissions_note),
- style = MaterialTheme.typography.bodySmall,
- color = InkDim,
- modifier = Modifier.padding(horizontal = 18.dp, vertical = 14.dp),
- )
- SCOPES.forEach { (scope, why) ->
- RowDivider()
- InfoRow(scope, stringResource(why))
- }
- }
- }
-
if (open == SettingsPage.About) item("author") {
Section(stringResource(R.string.developed_by)) {
val uriHandler = LocalUriHandler.current
@@ -409,6 +394,22 @@ fun SettingsScreen(
}
}
+ // Last: a reference for whoever wants to check, not something to do.
+ if (open == SettingsPage.About) item("permissions") {
+ Section(stringResource(R.string.permissions_asked)) {
+ Text(
+ stringResource(R.string.permissions_note),
+ style = MaterialTheme.typography.bodySmall,
+ color = InkDim,
+ modifier = Modifier.padding(horizontal = 18.dp, vertical = 14.dp),
+ )
+ SCOPES.forEach { (scope, why) ->
+ RowDivider()
+ InfoRow(scope, stringResource(why))
+ }
+ }
+ }
+
// Spotify's sign-out, so only while Spotify is the source. On YouTube
// Music the account section above has its own, and this one signed the
// app out of Spotify from a page about a Google account.