Clear VR notifications on disable

This commit is contained in:
Natsumi
2021-10-02 09:02:36 +13:00
parent 57e360cbd7
commit 85cd37fd86
2 changed files with 5 additions and 0 deletions

View File

@@ -9310,6 +9310,7 @@ speechSynthesis.getVoices();
);
this.updateSharedFeed(true);
this.updateVRConfigVars();
AppApi.ExecuteVrOverlayFunction('notyClear', '');
};
$app.data.TTSvoices = speechSynthesis.getVoices();
$app.methods.saveNotificationTTS = function () {

View File

@@ -490,6 +490,10 @@ import configRepository from './repository/config.js';
return text;
};
$app.methods.notyClear = function () {
Noty.closeAll();
};
$app = new Vue($app);
window.$app = $app;
})();