Bugfix: conflicting File object with native JS

Cleanup: Stores and tooltips
This commit is contained in:
djmaze 2021-02-17 14:40:21 +01:00
parent 1df2e00862
commit db0d03db83
43 changed files with 204 additions and 295 deletions

View file

@ -38,9 +38,7 @@ export class SettingsUserScreen extends AbstractSettingsScreen {
*/
setupSettings(fCallback = null) {
if (!Settings.capa(Capa.Settings)) {
if (fCallback) {
fCallback();
}
fCallback && fCallback();
return false;
}
@ -93,9 +91,7 @@ export class SettingsUserScreen extends AbstractSettingsScreen {
runSettingsViewModelHooks(false);
if (fCallback) {
fCallback();
}
fCallback && fCallback();
return true;
}