mirror of
https://github.com/pelgraine/Meck.git
synced 2026-11-04 04:12:28 +01:00
fix message popup accidental navigation bug
This commit is contained in:
1 parent
2972d1ffb4
commit
87a5f185d3
1 file changed
+2
-2
@@ -651,8 +651,8 @@ switch(t){
|
||||
|
||||
void UITask::msgRead(int msgcount) {
|
||||
_msgcount = msgcount;
|
||||
if (msgcount == 0) {
|
||||
gotoHomeScreen();
|
||||
if (msgcount == 0 && curr == msg_preview) {
|
||||
gotoHomeScreen(); // only leave msg_preview when queue is empty
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user