[apps/shared] Fixed localization text bg

This commit is contained in:
ArtichOwO
2021-09-23 00:43:17 +02:00
parent feb94af827
commit db0ae2f7a0

View File

@@ -18,7 +18,7 @@ LocalizationController::ContentView::ContentView(LocalizationController * contro
assert(k_numberOfCountryWarningLines == 2); // textMessages is not overflowed
I18n::Message textMessages[k_numberOfCountryWarningLines] = {I18n::Message::CountryWarning1, I18n::Message::CountryWarning2};
for (int i = 0; i < k_numberOfCountryWarningLines; i++) {
m_countryWarningLines[i].setBackgroundColor(Palette::BackgroundHard);
m_countryWarningLines[i].setBackgroundColor(Palette::BackgroundApps);
m_countryWarningLines[i].setFont(KDFont::SmallFont);
m_countryWarningLines[i].setAlignment(0.5f, 0.5f);
m_countryWarningLines[i].setMessage(textMessages[i]);