mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix blinking when updating widgets
This commit is contained in:
@@ -231,8 +231,6 @@ public abstract class BaseWidgetProvider extends AppWidgetProvider
|
|||||||
landscapeRemoteViews = new RemoteViews(context.getPackageName(), getLayoutId());
|
landscapeRemoteViews = new RemoteViews(context.getPackageName(), getLayoutId());
|
||||||
landscapeWidgetView = buildCustomView(context, habit);
|
landscapeWidgetView = buildCustomView(context, habit);
|
||||||
measureCustomView(context, landscapeWidth, landscapeHeight, landscapeWidgetView);
|
measureCustomView(context, landscapeWidth, landscapeHeight, landscapeWidgetView);
|
||||||
|
|
||||||
updateAppWidget();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateAppWidget()
|
private void updateAppWidget()
|
||||||
|
|||||||
Reference in New Issue
Block a user