Convert static app shortcuts to dynamic
Will allow user customization in the future (colors, choosing which show up in list, etc.)
This commit is contained in:
parent
33ff49de0f
commit
43a2f319fc
10 changed files with 216 additions and 93 deletions
|
|
@ -28,6 +28,7 @@ import com.kabouzeid.appthemehelper.ThemeStore;
|
|||
import com.kabouzeid.appthemehelper.util.ATHUtil;
|
||||
import com.kabouzeid.appthemehelper.util.NavigationViewUtil;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.appshortcuts.DynamicShortcutManager;
|
||||
import com.kabouzeid.gramophone.dialogs.ChangelogDialog;
|
||||
import com.kabouzeid.gramophone.dialogs.DonationsDialog;
|
||||
import com.kabouzeid.gramophone.glide.SongGlideRequest;
|
||||
|
|
@ -112,6 +113,9 @@ public class MainActivity extends AbsSlidingMusicPanelActivity {
|
|||
if (!checkShowIntro()) {
|
||||
checkShowChangelog();
|
||||
}
|
||||
|
||||
//Set up dynamic shortcuts if needed
|
||||
new DynamicShortcutManager(getApplicationContext()).initDynamicShortcuts();
|
||||
}
|
||||
|
||||
private void setMusicChooser(int key) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue