mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-18 12:04:03 -04:00
[MOS-975] Fixed missing new message notification
New message notificationis not cleared on locked phone when phone was locked from thread window.
This commit is contained in:
committed by
Kuba Kleczkowski
parent
c8ad07c3c0
commit
03de91c8d2
@@ -61,6 +61,10 @@ namespace gui
|
||||
|
||||
void SMSThreadViewWindow::onBeforeShow(ShowMode mode, SwitchData *data)
|
||||
{
|
||||
if (mode == ShowMode::GUI_SHOW_RETURN) {
|
||||
smsList->rebuildList();
|
||||
}
|
||||
|
||||
if (auto pdata = dynamic_cast<SMSThreadData *>(data); pdata) {
|
||||
LOG_INFO("Thread data received: %" PRIu32, pdata->thread->ID);
|
||||
saveInfoAboutPreviousAppForProperSwitchBack(data);
|
||||
|
||||
Reference in New Issue
Block a user