1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 09:42:55 +08:00

Remember login by default

Kinda what is expected from a user's perspective
This commit is contained in:
Dean Herbert 2024-03-12 20:14:50 +08:00
parent e431c1240e
commit a4a433b92a
No known key found for this signature in database

View File

@ -75,7 +75,7 @@ namespace osu.Game.Configuration
#pragma warning restore CS0618 // Type or member is obsolete #pragma warning restore CS0618 // Type or member is obsolete
SetDefault(OsuSetting.AutomaticallyDownloadMissingBeatmaps, false); SetDefault(OsuSetting.AutomaticallyDownloadMissingBeatmaps, false);
SetDefault(OsuSetting.SavePassword, false).ValueChanged += enabled => SetDefault(OsuSetting.SavePassword, true).ValueChanged += enabled =>
{ {
if (enabled.NewValue) if (enabled.NewValue)
SetValue(OsuSetting.SaveUsername, true); SetValue(OsuSetting.SaveUsername, true);