Removed library fragment
This commit is contained in:
parent
d03d4e4505
commit
f11c392b8d
5 changed files with 118 additions and 173 deletions
|
@ -29,6 +29,7 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.StyleRes;
|
||||
import androidx.viewpager.widget.ViewPager;
|
||||
import code.name.monkey.retromusic.R;
|
||||
import code.name.monkey.retromusic.dialogs.OptionsSheetDialogFragment;
|
||||
import code.name.monkey.retromusic.fragments.AlbumCoverStyle;
|
||||
import code.name.monkey.retromusic.fragments.NowPlayingScreen;
|
||||
import code.name.monkey.retromusic.fragments.mainactivity.folders.FoldersFragment;
|
||||
|
@ -584,6 +585,14 @@ public final class PreferenceUtil {
|
|||
return mPreferences.getInt(LAST_CHANGELOG_VERSION, -1);
|
||||
}
|
||||
|
||||
public final int getLastMusicChooser() {
|
||||
return mPreferences.getInt(LAST_MUSIC_CHOOSER, OptionsSheetDialogFragment.LIBRARY);
|
||||
}
|
||||
|
||||
public void setLastMusicChooser(int value) {
|
||||
mPreferences.edit().putInt(LAST_MUSIC_CHOOSER, value).apply();
|
||||
}
|
||||
|
||||
public final int getLastPage() {
|
||||
return mPreferences.getInt(LAST_PAGE, R.id.action_song);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue