1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-29 00:32:57 +08:00
This commit is contained in:
Andrey Zavadskiy 2016-12-23 23:49:42 +03:00
parent 70c8250021
commit 9f202ecba8

View File

@ -80,6 +80,8 @@ namespace osu.Game.Overlays.Options.General
private PasswordTextBox password; private PasswordTextBox password;
private APIAccess api; private APIAccess api;
private CheckBoxOption saveUsername;
private CheckBoxOption savePassword;
private void performLogin() private void performLogin()
{ {
@ -110,12 +112,12 @@ namespace osu.Game.Overlays.Options.General
Height = 20, Height = 20,
RelativeSizeAxes = Axes.X RelativeSizeAxes = Axes.X
}, },
new CheckBoxOption saveUsername = new CheckBoxOption
{ {
LabelText = "Remember Username", LabelText = "Remember Username",
Bindable = config.GetBindable<bool>(OsuConfig.SaveUsername), Bindable = config.GetBindable<bool>(OsuConfig.SaveUsername),
}, },
new CheckBoxOption savePassword = new CheckBoxOption
{ {
LabelText = "Remember Password", LabelText = "Remember Password",
Bindable = config.GetBindable<bool>(OsuConfig.SavePassword), Bindable = config.GetBindable<bool>(OsuConfig.SavePassword),