This commit is contained in:
Bnyro 2022-06-25 18:12:46 +02:00
parent c410c7c88f
commit cbe70b3032

View File

@ -60,8 +60,8 @@ class InstanceSettings : PreferenceFragmentCompat() {
val jsonObject = JSONTokener(json).nextValue() as JSONObject val jsonObject = JSONTokener(json).nextValue() as JSONObject
Log.e(TAG, jsonObject.getJSONArray("subscriptions").toString()) Log.e(TAG, jsonObject.getJSONArray("subscriptions").toString())
for ( for (
i in 0 until jsonObject.getJSONArray("subscriptions") i in 0 until jsonObject.getJSONArray("subscriptions")
.length() .length()
) { ) {
var url = var url =
jsonObject.getJSONArray("subscriptions").getJSONObject(i) jsonObject.getJSONArray("subscriptions").getJSONObject(i)