Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

Commit

Permalink
Update operator name change
Browse files Browse the repository at this point in the history
  • Loading branch information
petarov committed Nov 12, 2014
1 parent 120872b commit d34bbb4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion res/values/arrays.xml
Expand Up @@ -4,5 +4,5 @@
<item >袩褉芯褎懈谢</item>
<item >袨褌薪芯褋薪芯</item>
</string-array>
<string-array name="array_available_operators"><item>Globul</item></string-array>
<string-array name="array_available_operators"><item>Telenor</item></string-array>
</resources>
Expand Up @@ -188,8 +188,9 @@ private boolean isSettingsValid() {

private AccountType getAccountTypeFromListPrefs() {
String[] operators = getResStringArray(R.array.array_available_operators);
if (_accountOperatorPref.getValue().equals(operators[0])) {
return AccountType.Globul;
String userOperator = _accountOperatorPref.getValue();
if (userOperator.equals(operators[0]) || userOperator.equals("Globul")) {
return AccountType.Telenor;
}
// else if (_accountOperatorPref.getValue().equals(operators[1])) {
// return AccountType.M_Tel;
Expand Down
2 changes: 1 addition & 1 deletion src/net/vexelon/myglob/configuration/Defs.java
Expand Up @@ -26,7 +26,7 @@
public class Defs {

public final static String LOG_TAG = "net.vexelon.myglob";
public final static boolean LOG_ENABLED = true;
public final static boolean LOG_ENABLED = false;

// Theming
public final static int THEME = R.style.Theme_Sherlock;
Expand Down
2 changes: 1 addition & 1 deletion src/net/vexelon/myglob/users/AccountType.java
Expand Up @@ -20,7 +20,7 @@
package net.vexelon.myglob.users;

public enum AccountType {
Globul,
Telenor,
M_Tel,
Vivacom,
}

0 comments on commit d34bbb4

Please sign in to comment.