mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:47:22 +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
|
|
@ -118,7 +118,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||
|
||||
public override void OnOpen()
|
||||
{
|
||||
_uiShared.RestOAuthTasksState();
|
||||
_uiShared.ResetOAuthTasksState();
|
||||
_speedTestCts = new();
|
||||
}
|
||||
|
||||
|
|
@ -1380,7 +1380,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||
var idx = _uiShared.DrawServiceSelection();
|
||||
if (_lastSelectedServerIndex != idx)
|
||||
{
|
||||
_uiShared.RestOAuthTasksState();
|
||||
_uiShared.ResetOAuthTasksState();
|
||||
_secretKeysConversionCts = _secretKeysConversionCts.CancelRecreate();
|
||||
_secretKeysConversionTask = null;
|
||||
_lastSelectedServerIndex = idx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue