void NotifyWindow::unlinkHistory(History *hist) { if (!hist || hist == history) { animHide(st::notifyFastAnim, st::notifyFastAnimFunc); history = 0; item = 0; } }
void NotifyWindow::unlinkHistory(History *hist) { if (!hist || hist == history) { animHide(st::notifyFastAnim, st::notifyFastAnimFunc); history = 0; item = 0; App::wnd()->notifyShowNext(); } }
void NotifyWindow::hideByTimer() { if (!history) return; animHide(st::notifySlowHide, st::notifySlowHideFunc); }