Skip to content

Commit

Permalink
Added support for Ikano Bank. Bump version to 1.5.3-RC1.
Browse files Browse the repository at this point in the history
  • Loading branch information
liato committed Dec 19, 2010
1 parent a7a526c commit c0ba832
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.liato.bankdroid"
android:versionCode="58" android:versionName="1.5.2">
android:versionName="1.5.3-RC1" android:versionCode="59">
<application
android:icon="@drawable/icon"
android:label="@string/app_name"
Expand Down
Binary file added res/drawable/logo_ikanobank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions res/values-sv/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
\ngust (Handelsbanken)
\nbernard (Diners Club)
\npilang (Länsförsäkringar)
\nMidde (Ikano Bank)
</string>


Expand Down
1 change: 1 addition & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
\ngust (Handelsbanken)
\nbernard (Diners Club)
\npilang (Länsförsäkringar)
\nMidde (Ikano Bank)
</string>


Expand Down
2 changes: 1 addition & 1 deletion src/com/liato/bankdroid/Bank.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public abstract class Bank implements Comparable<Bank> {
public final static int PAYPAL = 15;
public final static int PAYSON = 16;
public final static int JOJO = 17;
public final static int IKANO = 18;
public final static int IKANOBANK = 18;
public final static int STEAM = 19;
public final static int DINERSCLUB = 20;

Expand Down
4 changes: 4 additions & 0 deletions src/com/liato/bankdroid/BankFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import com.liato.bankdroid.banks.Handelsbanken;
import com.liato.bankdroid.banks.ICA;
import com.liato.bankdroid.banks.ICABanken;
import com.liato.bankdroid.banks.IkanoBank;
import com.liato.bankdroid.banks.Jojo;
import com.liato.bankdroid.banks.Lansforsakringar;
import com.liato.bankdroid.banks.Nordea;
Expand Down Expand Up @@ -90,6 +91,8 @@ public static Bank fromBanktypeId(int id, Context context) throws BankException
return new Steam(context);
case Bank.DINERSCLUB:
return new DinersClub(context);
case Bank.IKANOBANK:
return new IkanoBank(context);
default:
throw new BankException("BankType id not found.");
}
Expand Down Expand Up @@ -117,6 +120,7 @@ public static ArrayList<Bank> listBanks(Context context) {
banks.add(new Jojo(context));
banks.add(new Steam(context));
banks.add(new DinersClub(context));
banks.add(new IkanoBank(context));
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
if (prefs.getBoolean("debug_mode", false)) {
banks.add(new TestBank(context));
Expand Down

0 comments on commit c0ba832

Please sign in to comment.