Safari eingebaut
This commit is contained in:
parent
b7080633e1
commit
738ad0cb67
@ -86,10 +86,8 @@ InitPromise.resolve(app).then(async function () {
|
||||
app.start(MenuSite);
|
||||
Translator.setLanguage("de");
|
||||
|
||||
|
||||
|
||||
InstallManager.setCanInstallListener(e => {});
|
||||
let storageManager = MyStorageManager.getInstance()
|
||||
let storageManager = MyStorageManager.getInstance();
|
||||
if (InstallManager.isInstalled()){
|
||||
storageManager.persist();
|
||||
}
|
||||
@ -97,7 +95,7 @@ InitPromise.resolve(app).then(async function () {
|
||||
window["applyAndroidBridge"] = AndroidBridge.applyDefinitions;
|
||||
|
||||
let wasOpened = (Helper.nonNull(localStorage.getItem('was-open'), "0") === "1");
|
||||
if (wasOpened){
|
||||
if (wasOpened && storageManager.canPersist()){
|
||||
Promise.all([storageManager.isPersistent(), navigator["serviceWorker"]["ready"]]).then(res => {
|
||||
if (!res[0]){
|
||||
FlashMessenger.addMessage("warning-data-not-persistent");
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import {Selector} from 'testcafe';
|
||||
import {ClientFunction} from 'testcafe';
|
||||
|
||||
let isLocal = true;
|
||||
let isLocal = false;
|
||||
let isMobile = false;
|
||||
|
||||
const checkMatrix = async (matrixStringSelector, shouldValues, timeout) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user