Various theming fixes

This commit is contained in:
Sylvia van Os
2022-01-15 13:39:19 +01:00
parent 3bbe8e9524
commit 0853bd88a4
23 changed files with 13 additions and 11 deletions

View File

@@ -16,5 +16,6 @@ public class LoyaltyCardLockerApplication extends Application {
Settings settings = new Settings(this);
AppCompatDelegate.setDefaultNightMode(settings.getTheme());
DynamicColors.applyToActivitiesIfAvailable(this);
}
}

View File

@@ -367,7 +367,7 @@ public class MainActivity extends CatimaAppCompatActivity implements LoyaltyCard
View folder = findViewById(R.id.action_unfold);
View sort = findViewById(R.id.action_sort);
if (search != null) {
if (search != null && mSearchView.isIconified()) {
search.setVisibility(shouldShow ? View.VISIBLE : View.GONE);
}
if (folder != null) {