Skip to content

Commit

Permalink
Uploaded new version 2.0.3 to jCenter()
Browse files Browse the repository at this point in the history
  • Loading branch information
hummatli committed Dec 25, 2016
1 parent c26ba59 commit 9619c03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@ protected void onCreate(Bundle savedInstanceState) {
} else if (currentLang.equals("pt")) {
currentLang = "portuguese";
} else if (currentLang.equals("fr")) {
currentLang = "france";
currentLang = "french";
} else if (currentLang.equals("ru")) {
currentLang = "russia";
} else if (currentLang.equals("tr")) {
currentLang = "turkey";
}


//Setting spinner to right language
for (int i = 0; i < langsArray.length; i++) {
if (langsArray[i].toLowerCase().startsWith(currentLang)) {
Expand Down Expand Up @@ -165,7 +166,7 @@ public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
LocaleHelper.setLocale(this, "az");
} else if (item.toLowerCase().startsWith("portuguese")) {
LocaleHelper.setLocale(this, "pt");
} else if (item.toLowerCase().startsWith("france")) {
} else if (item.toLowerCase().startsWith("french")) {
LocaleHelper.setLocale(this, "fr");
} else if (item.toLowerCase().startsWith("russia")) {
LocaleHelper.setLocale(this, "ru");
Expand Down
2 changes: 1 addition & 1 deletion MAHAds/mah-ads/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ext {
siteUrl = 'https://github.com/hummatli/MAHAds'
gitUrl = 'https://github.com/hummatli/MAHAds.git'

libraryVersion = '2.0.2'
libraryVersion = '2.0.3'

developerId = 'hummatli'
developerName = 'Sattar Hummatli'
Expand Down

0 comments on commit 9619c03

Please sign in to comment.