Make dictionary spinner optional (#945)

This commit is contained in:
toasted-nutbread 2020-10-19 17:25:15 -04:00 committed by GitHub
parent 69e5ea6138
commit 91b4feb934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,8 +242,10 @@ class DictionaryImportController {
} }
_setSpinnerVisible(visible) { _setSpinnerVisible(visible) {
if (this._spinner !== null) {
this._spinner.hidden = !visible; this._spinner.hidden = !visible;
} }
}
_preventPageExit() { _preventPageExit() {
return this._settingsController.preventPageExit(); return this._settingsController.preventPageExit();