Author: Adam <git@apiote.xyz>
fix saving server and token
app/src/main/java/ml/adamsprogs/bimba/feeds/FeedChooserActivity.kt | 2
diff --git a/app/src/main/java/ml/adamsprogs/bimba/feeds/FeedChooserActivity.kt b/app/src/main/java/ml/adamsprogs/bimba/feeds/FeedChooserActivity.kt index 6fe984ea1d88a365860b6db12b579d731d14e7da..9767a3d6f98f960e9219e0b0338197ce8a7d6789 100644 --- a/app/src/main/java/ml/adamsprogs/bimba/feeds/FeedChooserActivity.kt +++ b/app/src/main/java/ml/adamsprogs/bimba/feeds/FeedChooserActivity.kt @@ -113,6 +113,8 @@ startActivity(intent) val wasFirstRun = preferences.getBoolean("firstRun", true) preferences.edit(true) { putBoolean("firstRun", false) + putString("server", binding.serverField.editText!!.text.toString()) + putString("token", binding.tokenField.editText!!.text.toString()) } if (wasFirstRun) { finish()