Merge pull request #22 from ArtichOwO/Localisation-Palette-FIx

This commit is contained in:
Lauryy06
2021-09-23 21:05:57 +02:00
committed by GitHub

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]);