Hide widget stacks feature for non-developers

This commit is contained in:
2019-12-29 08:22:02 -06:00
parent 8341956a90
commit caed1aef79
5 changed files with 57 additions and 28 deletions

View File

@@ -255,6 +255,11 @@ public class Preferences
for (Listener l : listeners) l.onSyncFeatureChanged();
}
public boolean isWidgetStackEnabled()
{
return storage.getBoolean("pref_feature_widget_stack", false);
}
public void removeListener(Listener listener)
{
listeners.remove(listener);