File tree Expand file tree Collapse file tree
src/main/java/com/smartpack/packagemanager/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ android {
5656}
5757
5858dependencies {
59- playImplementation ' com.android.billingclient:billing:5.1 .0'
59+ playImplementation ' com.android.billingclient:billing:5.2 .0'
6060 implementation ' com.github.apk-editor:aXML:8458ba5aee'
6161
62- def sCommon_Version = ' 2d827ce148 '
62+ def sCommon_Version = ' aa1019da38 '
6363 implementation " com.github.sunilpaulmathew.sCommon:adapters:${ sCommon_Version} "
6464 implementation " com.github.sunilpaulmathew.sCommon:crashreporter:${ sCommon_Version} "
6565 implementation " com.github.sunilpaulmathew.sCommon:credits:${ sCommon_Version} "
Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ public static String getLanguage(Activity activity) {
134134 return activity .getString (R .string .language_it );
135135 case "ar" :
136136 return activity .getString (R .string .language_ar );
137+ case "sk" :
138+ return activity .getString (R .string .language_sk );
137139 default :
138140 return activity .getString (R .string .language_default ) + " (" + java .util .Locale .getDefault ().getLanguage () + ")" ;
139141 }
@@ -201,7 +203,8 @@ private static String[] getLanguageMenu(Context context) {
201203 context .getString (R .string .language_hu ),
202204 context .getString (R .string .language_pl ),
203205 context .getString (R .string .language_it ),
204- context .getString (R .string .language_ar )
206+ context .getString (R .string .language_ar ),
207+ context .getString (R .string .language_sk )
205208 };
206209 }
207210
@@ -332,6 +335,12 @@ public void onItemSelected(int position) {
332335 Utils .restartApp (activity );
333336 }
334337 break ;
338+ case 20 :
339+ if (!sThemeUtils .getLanguage (activity ).equals ("sk" )) {
340+ sCommonUtils .saveString ("appLanguage" , "sk" , activity );
341+ Utils .restartApp (activity );
342+ }
343+ break ;
335344 }
336345 }
337346 }.show ();
You can’t perform that action at this time.
0 commit comments