fix notification windows refresh

This commit is contained in:
henrypp committed 2019-08-13 16:35:31 +06:00
1 parent 15798f9c4b
commit 5dd1a9da3e
1 file changed
+4 -1
+4 -1
View File
@@ -530,7 +530,10 @@ void _app_notifyplaysound ()
void _app_notifyrefresh (HWND hwnd, bool is_safety)
{
if (!app.ConfigGet (L"IsNotificationsEnabled", true).AsBool () || !IsWindowVisible (hwnd))
_app_notifyhide (config.hnotification);
{
_app_notifyhide (hwnd);
return;
}
PR_OBJECT ptr_log_object = _app_notifyget_obj (_app_notifyget_id (hwnd, INVALID_SIZE_T));