Fix minor theme issue in Store, thanks Nabn00b.

See #19550
This commit is contained in:
Henrik Rydgård 2024-11-04 15:45:40 +01:00
parent 6bbb0bc75e
commit 9fb759d626

View File

@ -523,9 +523,9 @@ void StoreScreen::CreateViews() {
LinearLayout *topBar = root_->Add(new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(FILL_PARENT, 64.0f)));
topBar->Add(new Choice(di->T("Back"), new LinearLayoutParams(WRAP_CONTENT, FILL_PARENT)))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
titleText_ = new TextView(mm->T("PPSSPP Homebrew Store"), ALIGN_VCENTER, false, new LinearLayoutParams(WRAP_CONTENT, FILL_PARENT));
titleText_->SetTextColor(screenManager()->getUIContext()->GetTheme().itemFocusedStyle.fgColor);
titleText_->SetTextColor(screenManager()->getUIContext()->GetTheme().itemDownStyle.fgColor);
topBar->Add(titleText_);
topBar->SetBG(screenManager()->getUIContext()->GetTheme().itemFocusedStyle.background);
topBar->SetBG(screenManager()->getUIContext()->GetTheme().itemDownStyle.background);
LinearLayout *content;
if (connectionError_ || loading_) {