Fix loyalty card view title colour in landscape mode

This commit is contained in:
Sylvia van Os
2021-01-27 22:21:27 +01:00
parent c20ce1e555
commit 55a5884852

View File

@@ -333,6 +333,7 @@ public class LoyaltyCardViewActivity extends AppCompatActivity
textColor = Color.WHITE;
}
storeName.setTextColor(textColor);
((Toolbar) findViewById(R.id.toolbar_landscape)).setTitleTextColor(textColor);
// If the background is very bright, we should use dark icons
backgroundNeedsDarkIcons = Utils.needsDarkForeground(backgroundHeaderColor);