Download button

This commit is contained in:
inorichi
2015-09-29 14:40:36 +02:00
parent 59fa396eeb
commit 790ccdaba6
15 changed files with 32 additions and 8 deletions

View File

@@ -18,4 +18,12 @@ public class PreferencesHelper {
mPref.edit().clear().apply();
}
public boolean isFirstRun() {
return mPref.getBoolean("firstrun", true);
}
public void setNotFirstRun() {
mPref.edit().putBoolean("firstrun", false).commit();
}
}

View File

@@ -44,8 +44,6 @@ public class MangaManager extends BaseManager {
m.thumbnail_url="http://example.com/pic.png";
m.title="One Piece";
insert(m).subscribe();
m.title="Berserk";
insert(m).subscribe();
}
}