From e7295aac07b08d2c2f7ff546fb56f9cc91e6b150 Mon Sep 17 00:00:00 2001 From: Grishka Date: Fri, 2 Feb 2024 15:34:06 +0100 Subject: [PATCH] Fix #770 --- .../ui/viewcontrollers/ComposeLanguageAlertViewController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeLanguageAlertViewController.java b/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeLanguageAlertViewController.java index a20bf39c..8757cb71 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeLanguageAlertViewController.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/viewcontrollers/ComposeLanguageAlertViewController.java @@ -90,7 +90,7 @@ public class ComposeLanguageAlertViewController{ if(previouslySelected!=null){ if(previouslySelected.index!=-1 && ((previouslySelected.index-1 && Objects.equals(previouslySelected.locale, allLocales.get(previouslySelected.index-specialLocales.size()).locale)))){ selectedIndex=previouslySelected.index; selectedLocale=previouslySelected.locale; }else{