Merge pull request #19582 from hrydgard/minor-fixes

Fix minor theme issue in Store, thanks Nabn00b.
This commit is contained in:
Henrik Rydgård 2024-11-04 15:52:17 +01:00 committed by GitHub
commit a48247823f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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_) {