From 07546abb7ee888280e722447686230c45ffabfa3 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 12 Sep 2020 18:26:34 +0200 Subject: [PATCH] Fix instances picker selected item --- app/src/main/java/app/fedilab/fedilabtube/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/fedilabtube/MainActivity.java b/app/src/main/java/app/fedilab/fedilabtube/MainActivity.java index 3808023..7bfb67b 100644 --- a/app/src/main/java/app/fedilab/fedilabtube/MainActivity.java +++ b/app/src/main/java/app/fedilab/fedilabtube/MainActivity.java @@ -232,7 +232,7 @@ public class MainActivity extends AppCompatActivity { String acad = Helper.getLiveInstance(MainActivity.this); int i = 0; for (String item : academies) { - if (item.compareTo(acad) == 0) { + if (Helper.getPeertubeUrl(item).compareTo(acad) == 0) { break; } i++;