fixed freeze bug

pull/117/head v1.2.11
sqfmi 2021-12-03 11:11:00 -05:00
parent e34fbac279
commit ac82f48c45
3 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "Watchy", "name": "Watchy",
"version": "1.2.10", "version": "1.2.11",
"description": "Watchy - An Open Source E-Paper Watch by SQFMI", "description": "Watchy - An Open Source E-Paper Watch by SQFMI",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
name=Watchy name=Watchy
version=1.2.10 version=1.2.11
author=SQFMI author=SQFMI
maintainer=SQFMI maintainer=SQFMI
sentence=Watchy - An Open Source E-Paper Watch by SQFMI sentence=Watchy - An Open Source E-Paper Watch by SQFMI

View File

@ -90,6 +90,8 @@ void Watchy::handleButtonPress(){
showMenu(menuIndex, false);//exit to menu if already in app showMenu(menuIndex, false);//exit to menu if already in app
}else if(guiState == FW_UPDATE_STATE){ }else if(guiState == FW_UPDATE_STATE){
showMenu(menuIndex, false);//exit to menu if already in app showMenu(menuIndex, false);//exit to menu if already in app
}else if(guiState == WATCHFACE_STATE){
return;
} }
} }
//Up Button //Up Button
@ -100,6 +102,8 @@ void Watchy::handleButtonPress(){
menuIndex = MENU_LENGTH - 1; menuIndex = MENU_LENGTH - 1;
} }
showMenu(menuIndex, true); showMenu(menuIndex, true);
}else if(guiState == WATCHFACE_STATE){
return;
} }
} }
//Down Button //Down Button
@ -110,6 +114,8 @@ void Watchy::handleButtonPress(){
menuIndex = 0; menuIndex = 0;
} }
showMenu(menuIndex, true); showMenu(menuIndex, true);
}else if(guiState == WATCHFACE_STATE){
return;
} }
} }