mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove debug codes
This commit is contained in:
parent
2ea7ab2709
commit
756ac0be7a
2 changed files with 2 additions and 4 deletions
|
|
@ -1138,8 +1138,7 @@ namespace Flow.Launcher
|
|||
conversion => (sender, eventArg) => conversion(sender, eventArg),
|
||||
add => QueryTextBox.TextChanged += add,
|
||||
remove => QueryTextBox.TextChanged -= remove)
|
||||
// TODO: Remove debug codes.
|
||||
.Throttle(TimeSpan.FromMilliseconds(_settings.SearchDelay * 10))
|
||||
.Throttle(TimeSpan.FromMilliseconds(_settings.SearchDelay))
|
||||
.Do(@event => Dispatcher.Invoke(() => PerformSearchQuery(true, (TextBox)@event.Sender)))
|
||||
.Subscribe();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1276,8 +1276,7 @@ namespace Flow.Launcher.ViewModel
|
|||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.WriteLine($"!!!{plugin.Metadata.Name} Waiting {plugin.Metadata.SearchDelay} ms");
|
||||
|
||||
// TODO: Remove debug codes.
|
||||
await Task.Delay(plugin.Metadata.SearchDelay * 60, token);
|
||||
await Task.Delay(plugin.Metadata.SearchDelay, token);
|
||||
|
||||
// TODO: Remove debug codes.
|
||||
System.Diagnostics.Debug.WriteLine($"!!!{plugin.Metadata.Name} Waited {plugin.Metadata.SearchDelay} ms");
|
||||
|
|
|
|||
Loading…
Reference in a new issue