diff --git a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java index 27955e0e..ea25fca0 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java @@ -30,7 +30,7 @@ public class SettingsFragment extends Fragment { private Context ctx = null; - private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Russian"}; + private static String[] langList = {"Arabic", "Chinese", "English", "French", "German", "Persian", "Russian"}; private static int langSelectedChoice = 0; private static String[] timeList = {"Pretty", "Normal"}; @@ -256,6 +256,9 @@ public class SettingsFragment extends Fragment { case "German": tinyDb.putString("locale", "de"); break; + case "Persian": + tinyDb.putString("locale", "fa"); + break; case "Russian": tinyDb.putString("locale", "ru"); break;