mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:27:21 +01:00
make server selection and legacy key entry hidden in advaced options during setup
This commit is contained in:
parent
25264322fe
commit
71f06898c3
3 changed files with 37 additions and 29 deletions
|
|
@ -926,7 +926,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||
{
|
||||
selectedServer.OAuthToken = null;
|
||||
_serverConfigurationManager.Save();
|
||||
RestOAuthTasksState();
|
||||
ResetOAuthTasksState();
|
||||
}
|
||||
}
|
||||
DrawHelpText("Hold CTRL to unlink the current OAuth2 connection.");
|
||||
|
|
@ -1052,7 +1052,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||
[LibraryImport("user32")]
|
||||
internal static partial short GetKeyState(int nVirtKey);
|
||||
|
||||
internal void RestOAuthTasksState()
|
||||
internal void ResetOAuthTasksState()
|
||||
{
|
||||
_discordOAuthCheck = null;
|
||||
_discordOAuthGetCts = _discordOAuthGetCts.CancelRecreate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue