Browse Source

Fixed barcode scanner start (issue 383).

Removed now-defunct BTJunkie search site form list.
pull/11/head
Eric Kok 13 years ago
parent
commit
029a51a567
  1. 2
      android/src/org/transdroid/gui/TorrentsFragment.java
  2. 4
      android/src/org/transdroid/preferences/Preferences.java

2
android/src/org/transdroid/gui/TorrentsFragment.java

@ -128,7 +128,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
private static final int ACTIVITY_PREFERENCES = 0; private static final int ACTIVITY_PREFERENCES = 0;
private static final int ACTIVITY_DETAILS = 1; private static final int ACTIVITY_DETAILS = 1;
private static final int ACTIVITY_BARCODE = 0x0ba7c0de; // get it? private static final int ACTIVITY_BARCODE = 0x0000c0de;
private static final int DIALOG_SERVERS = 0; private static final int DIALOG_SERVERS = 0;
private static final int DIALOG_RATES = 1; private static final int DIALOG_RATES = 1;

4
android/src/org/transdroid/preferences/Preferences.java

@ -590,9 +590,7 @@ public class Preferences {
} }
public static SiteSettings getSupportedSiteSetting(String preferencesKey) { public static SiteSettings getSupportedSiteSetting(String preferencesKey) {
if (preferencesKey.equals("site_btjunkie")) { if (preferencesKey.equals("site_extratorrent")) {
return new SiteSettings(preferencesKey, "BTJunkie");
} else if (preferencesKey.equals("site_extratorrent")) {
return new SiteSettings(preferencesKey, "ExtraTorrent"); return new SiteSettings(preferencesKey, "ExtraTorrent");
} else if (preferencesKey.equals("site_ezrss")) { } else if (preferencesKey.equals("site_ezrss")) {
return new SiteSettings(preferencesKey, "EzRss"); return new SiteSettings(preferencesKey, "EzRss");

Loading…
Cancel
Save