(application, which)
| 197 | } |
| 198 | } |
| 199 | onAppearanceChanged(application, which) { |
| 200 | this.appearance = which; |
| 201 | this.onColorsChanged(application); |
| 202 | if (!application.first) { |
| 203 | application.add(new MainContainer(this)); |
| 204 | if (this.devicesPath) |
| 205 | this.reloadDevices(application); |
| 206 | else |
| 207 | this.selectDevice(application, -1); |
| 208 | |
| 209 | if (this.onOpenFileList) |
| 210 | application.defer("onOpenFileCallback"); |
| 211 | else |
| 212 | this.launchScreen(); |
| 213 | } |
| 214 | } |
| 215 | onColorsChanged(application) { |
| 216 | let appearance = this.colors; |
| 217 | if (appearance == 2) |
nothing calls this directly
no test coverage detected