Small improvement

This commit is contained in:
M66B 2022-05-06 09:31:28 +02:00
parent 76e33836b8
commit 4d8c514f7b
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,8 @@ public class ActivityWidgetUnified extends ActivityBase {
boolean compose = prefs.getBoolean("widget." + appWidgetId + ".compose", false);
boolean avatars = prefs.getBoolean("widget." + appWidgetId + ".avatars", false);
daynight = daynight && (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setSubtitle(R.string.title_widget_title_list);
setContentView(R.layout.activity_widget_unified);