mirror of
https://github.com/ppy/osu.git
synced 2025-03-21 16:37:18 +08:00
Merge pull request #12696 from Joehuu/fix-bg-source-supp-text
Fix warning text of bg source setting not being updated when user with supporter signs in/out
This commit is contained in:
commit
f1b79865bf
@ -57,11 +57,11 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
backgroundSourceDropdown.Current.BindValueChanged(source =>
|
||||
user.BindValueChanged(u =>
|
||||
{
|
||||
const string not_supporter_note = "Changes to this setting will only apply with an active osu!supporter tag.";
|
||||
|
||||
backgroundSourceDropdown.WarningText = user.Value?.IsSupporter != true ? not_supporter_note : string.Empty;
|
||||
backgroundSourceDropdown.WarningText = u.NewValue?.IsSupporter != true ? not_supporter_note : string.Empty;
|
||||
}, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user