removed intro agreement accept timer lol
This commit is contained in:
@@ -84,18 +84,7 @@ public partial class IntroUi : WindowMediatorSubscriberBase
|
||||
if (ImGui.Button("Next##toAgreement"))
|
||||
{
|
||||
_readFirstPage = true;
|
||||
#if !DEBUG
|
||||
_timeoutTask = Task.Run(async () =>
|
||||
{
|
||||
for (int i = 60; i > 0; i--)
|
||||
{
|
||||
_timeoutLabel = $"{Strings.ToS.ButtonWillBeAvailableIn} {i}s";
|
||||
await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(false);
|
||||
}
|
||||
});
|
||||
#else
|
||||
_timeoutTask = Task.CompletedTask;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else if (!_configService.Current.AcceptedAgreement && _readFirstPage)
|
||||
|
||||
Reference in New Issue
Block a user