Skip to content

Commit

Permalink
Also fix case of login form username/password
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Apr 24, 2022
1 parent 999b450 commit 66b47d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions osu.Game/Overlays/Login/LoginForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System;
using osu.Framework.Allocation;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
Expand Down Expand Up @@ -51,14 +52,14 @@ private void load(OsuConfigManager config, AccountCreationOverlay accountCreatio
{
username = new OsuTextBox
{
PlaceholderText = UsersStrings.LoginUsername,
PlaceholderText = UsersStrings.LoginUsername.ToLower(),
RelativeSizeAxes = Axes.X,
Text = api?.ProvidedUsername ?? string.Empty,
TabbableContentContainer = this
},
password = new OsuPasswordTextBox
{
PlaceholderText = UsersStrings.LoginPassword,
PlaceholderText = UsersStrings.LoginPassword.ToLower(),
RelativeSizeAxes = Axes.X,
TabbableContentContainer = this,
},
Expand Down

0 comments on commit 66b47d2

Please sign in to comment.