mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Fix widgets on API 15
This commit is contained in:
@@ -58,7 +58,8 @@ public abstract class BaseWidget
|
|||||||
|
|
||||||
prefs = app.getComponent().getWidgetPreferences();
|
prefs = app.getComponent().getWidgetPreferences();
|
||||||
pendingIntentFactory = app.getComponent().getPendingIntentFactory();
|
pendingIntentFactory = app.getComponent().getPendingIntentFactory();
|
||||||
dimensions = new WidgetDimensions(0, 0, 0, 0);
|
dimensions = new WidgetDimensions(getDefaultWidth(), getDefaultHeight(),
|
||||||
|
getDefaultWidth(), getDefaultHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void delete()
|
public void delete()
|
||||||
|
|||||||
Reference in New Issue
Block a user