Merge pull request #822 from 1hitsong/stop-channel-load-onBack

Stop load channel task on back press
This commit is contained in:
1hitsong 2022-10-22 09:24:34 -04:00 committed by GitHub
commit dc4c76efbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,6 +288,7 @@ function onKeyEvent(key as string, press as boolean) as boolean
gridGrp.setFocus(true)
return true
else if key = "back"
m.LoadChannelsTask.control = "stop"
m.global.sceneManager.callFunc("popScene")
return true
end if