[EGD-7024] Keep the state of SMS on phone lock

The SMS is not deleted on manual or automatic phone lock.
This commit is contained in:
Piotr Tański
2021-07-02 15:44:05 +02:00
committed by Piotr Tanski
parent 97538c8969
commit c2e45b0799
19 changed files with 61 additions and 28 deletions

View File

@@ -93,7 +93,7 @@ namespace gui
return AppWindow::onInput(inputEvent);
}
void SMSThreadViewWindow::onClose()
void SMSThreadViewWindow::onClose([[maybe_unused]] CloseReason reason)
{
smsModel->handleDraftMessage();
}