v2.0.3: Custom Spotify credentials, rate limit UI, search fixes

This commit is contained in:
zarzet committed 2026-01-03 23:56:03 +07:00
1 parent 794486a200
commit 85bb67da47
17 files changed
+594 -44

No files matched your search

@@ -200,6 +200,14 @@ class MainActivity: FlutterActivity() {
"isDownloadServiceRunning" -> {
result.success(DownloadService.isServiceRunning())
}
"setSpotifyCredentials" -> {
val clientId = call.argument<String>("client_id") ?: ""
val clientSecret = call.argument<String>("client_secret") ?: ""
withContext(Dispatchers.IO) {
Gobackend.setSpotifyAPICredentials(clientId, clientSecret)
}
result.success(null)
}
else -> result.notImplemented()
}
} catch (e: Exception) {