Download button
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user