hide app icon inside the PWA

master
Aevann 2023-07-01 04:05:28 +03:00
parent 54a7a81469
commit e8253b1240
1 changed files with 7 additions and 0 deletions

View File

@ -256,3 +256,10 @@ if (gbrowser == 'iphone' && !is_pwa) {
e.classList.remove('d-none')
}
}
if (is_pwa) {
const e = document.getElementById("mobile-app-nav-item");
if (e) {
e.classList.remove('d-none')
}
}