mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-06 05:57:59 -05:00
Various theming fixes
This commit is contained in:
@@ -16,5 +16,6 @@ public class LoyaltyCardLockerApplication extends Application {
|
||||
|
||||
Settings settings = new Settings(this);
|
||||
AppCompatDelegate.setDefaultNightMode(settings.getTheme());
|
||||
DynamicColors.applyToActivitiesIfAvailable(this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user