removed intro agreement accept timer lol

This commit is contained in:
2025-08-30 21:30:10 +02:00
parent a56ccc5211
commit 65f2bbf6f7

View File

@@ -84,18 +84,7 @@ public partial class IntroUi : WindowMediatorSubscriberBase
if (ImGui.Button("Next##toAgreement")) if (ImGui.Button("Next##toAgreement"))
{ {
_readFirstPage = true; _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; _timeoutTask = Task.CompletedTask;
#endif
} }
} }
else if (!_configService.Current.AcceptedAgreement && _readFirstPage) else if (!_configService.Current.AcceptedAgreement && _readFirstPage)