change totalSeconds to Hours

This commit is contained in:
弘韬 张 2020-12-29 12:08:41 +08:00
parent 5a0358718c
commit 00457ddc29

View file

@ -52,7 +52,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
if (string.IsNullOrWhiteSpace(search))
return Settings.HotKeys;
if ((DateTime.Now - _lastUpdateTime).TotalSeconds > 43200) // 12 hours
if ((DateTime.Now - _lastUpdateTime).TotalHours > 12) // 12 hours
{
Task.Run(async () =>
{