(application)
| 213 | } |
| 214 | } |
| 215 | onColorsChanged(application) { |
| 216 | let appearance = this.colors; |
| 217 | if (appearance == 2) |
| 218 | appearance = this.appearance; |
| 219 | buildAssets(appearance); |
| 220 | if (application.first) { |
| 221 | this.quitScreen(); |
| 222 | application.replace(application.first, new MainContainer(this)); |
| 223 | this.reloadDevices(application); |
| 224 | this.launchScreen(); |
| 225 | } |
| 226 | } |
| 227 | // onDisplaying deferred to onAppearanceChanged so that appearance is known |
| 228 | onKeyDown(application, key) { |
| 229 | if (this.keys[key]) |
no test coverage detected