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.

Ko-fi, on GitHub, in the README and in the app

Leloniocbe5686ec8e2
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000..129217d
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+ko_fi: lelonio
diff --git a/README.md b/README.md
index 63c8347..491267b 100644
--- a/README.md
+++ b/README.md
@@ -164,6 +164,11 @@ Music through the private endpoints its own web client uses. It cannot be
published on the Play Store, and you use it at your own risk. There is no
warranty of any kind; see the licence.
+## Support
+
+Square is free and has no ads. If it is useful to you, you can support its
+development on [Ko-fi](https://ko-fi.com/lelonio).
+
## Credits
| Project | Licence | How it is used |
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 ac08822..19d6cb5 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
@@ -379,6 +379,31 @@ fun SettingsScreen(
modifier = Modifier.size(18.dp),
)
}
+ RowDivider()
+ // Beside the name rather than under About: it is about the
+ // person who makes the app, not about the build.
+ Row(
+ Modifier
+ .fillMaxWidth()
+ .clickable { uriHandler.openUri(KOFI_URL) }
+ .padding(horizontal = 18.dp, vertical = 16.dp),
+ verticalAlignment = Alignment.CenterVertically,
+ ) {
+ Column(Modifier.weight(1f)) {
+ Text(stringResource(R.string.support_development), style = MaterialTheme.typography.titleMedium)
+ Text(
+ KOFI_URL.removePrefix("https://"),
+ style = MaterialTheme.typography.bodySmall,
+ color = InkDim,
+ )
+ }
+ Icon(
+ PhosphorIcons.Regular.ArrowUpRight,
+ contentDescription = null,
+ tint = InkDim,
+ modifier = Modifier.size(18.dp),
+ )
+ }
}
}
@@ -1274,3 +1299,4 @@ private val LICENCES = listOf(
private const val GITHUB_USER = "Lelonio"
private const val GITHUB_URL = "https://github.com/Lelonio"
+private const val KOFI_URL = "https://ko-fi.com/lelonio"
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 8c0e091..d583d56 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -159,6 +159,7 @@
<string name="permissions_asked">Angefragte Berechtigungen</string>
<string name="permissions_note">Eine vor einem Update verbundene Anwendung muss neu verbunden werden, um die seither hinzugekommenen Berechtigungen zu erteilen: die Bereiche, die sie brauchen, bleiben bis dahin leer.</string>
<string name="developed_by">Entwickelt von</string>
+ <string name="support_development">Entwicklung unterstützen</string>
<string name="about">Info</string>
<string name="version">Version</string>
<string name="licences">Lizenzen</string>
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 9133d1b..ca94533 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -159,6 +159,7 @@
<string name="permissions_asked">Permisos solicitados</string>
<string name="permissions_note">Una aplicación conectada antes de una actualización debe reconectarse para conceder los permisos añadidos después: las secciones que los usan seguirán vacías hasta entonces.</string>
<string name="developed_by">Desarrollado por</string>
+ <string name="support_development">Apoyar el desarrollo</string>
<string name="about">Información</string>
<string name="version">Versión</string>
<string name="licences">Licencias</string>
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index a14c2f1..5bfc39c 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -159,6 +159,7 @@
<string name="permissions_asked">Autorisations demandées</string>
<string name="permissions_note">Une application connectée avant une mise à jour doit être reconnectée pour accorder les autorisations ajoutées depuis : les sections qui les utilisent restent vides tant que ce n\'est pas fait.</string>
<string name="developed_by">Développé par</string>
+ <string name="support_development">Soutenir le développement</string>
<string name="about">À propos</string>
<string name="version">Version</string>
<string name="licences">Licences</string>
diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml
index 18f3855..450d496 100644
--- a/app/src/main/res/values-hi/strings.xml
+++ b/app/src/main/res/values-hi/strings.xml
@@ -171,6 +171,7 @@
<string name="permissions_asked">माँगी गई अनुमतियाँ</string>
<string name="permissions_note">अपडेट से पहले कनेक्ट किया गया ऐप्लिकेशन बाद में जोड़ी गई अनुमतियाँ देने के लिए फिर से कनेक्ट करना पड़ता है: तब तक उन पर निर्भर हिस्से खाली रहते हैं।</string>
<string name="developed_by">बनाया</string>
+ <string name="support_development">विकास में सहयोग करें</string>
<string name="about">परिचय</string>
<string name="version">संस्करण</string>
<string name="licences">लाइसेंस</string>
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 923f786..f406eab 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -160,6 +160,7 @@
<string name="permissions_asked">Permessi richiesti</string>
<string name="permissions_note">Un\'applicazione collegata prima di un aggiornamento va ricollegata per concedere i permessi aggiunti dopo: le sezioni che li usano restano vuote finché non lo fai.</string>
<string name="developed_by">Sviluppato da</string>
+ <string name="support_development">Supporta lo sviluppo</string>
<string name="about">Informazioni</string>
<string name="version">Versione</string>
<string name="licences">Licenze</string>
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index 74712c5..2252287 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -159,6 +159,7 @@
<string name="permissions_asked">Permissões solicitadas</string>
<string name="permissions_note">Uma aplicação conectada antes de uma atualização precisa ser reconectada para conceder as permissões acrescentadas depois: as seções que as usam ficam vazias até lá.</string>
<string name="developed_by">Desenvolvido por</string>
+ <string name="support_development">Apoiar o desenvolvimento</string>
<string name="about">Sobre</string>
<string name="version">Versão</string>
<string name="licences">Licenças</string>
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 9fc2948..5b3fb7a 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -173,6 +173,7 @@
<string name="permissions_asked">Запрошенные разрешения</string>
<string name="permissions_note">Приложение, подключённое до обновления, нужно подключить заново, чтобы выдать добавленные с тех пор разрешения: до этого связанные с ними разделы останутся пустыми.</string>
<string name="developed_by">Разработчик</string>
+ <string name="support_development">Поддержать разработку</string>
<string name="about">О приложении</string>
<string name="version">Версия</string>
<string name="licences">Лицензии</string>
diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml
index c2e40af..dfec59c 100644
--- a/app/src/main/res/values-tr/strings.xml
+++ b/app/src/main/res/values-tr/strings.xml
@@ -171,6 +171,7 @@
<string name="permissions_asked">İstenen izinler</string>
<string name="permissions_note">Bir güncellemeden önce bağlanan uygulamanın, sonradan eklenen izinleri vermesi için yeniden bağlanması gerekir: o zamana kadar bu izinleri kullanan bölümler boş kalır.</string>
<string name="developed_by">Geliştiren</string>
+ <string name="support_development">Geliştirmeyi destekle</string>
<string name="about">Hakkında</string>
<string name="version">Sürüm</string>
<string name="licences">Lisanslar</string>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index bb6a959..4e4f09a 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -177,6 +177,7 @@
<string name="permissions_asked">Permissions asked for</string>
<string name="permissions_note">An application connected before an update has to be reconnected to grant the permissions added since: the sections that use them stay empty until you do.</string>
<string name="developed_by">Developed by</string>
+ <string name="support_development">Support development</string>
<string name="about">About</string>
<string name="version">Version</string>
<string name="licences">Licences</string>