Adding do not show android install app advice in the app.

This commit is contained in:
Sergiotarxz 2023-09-05 01:36:44 +02:00
parent 1bd065cf91
commit 3290832ecb
3 changed files with 5 additions and 2 deletions

View File

@ -172,6 +172,9 @@ function executeAndroidExclusiveCode(android) {
document.querySelectorAll('*.android').forEach((element) => {
element.classList.remove('android')
})
document.querySelectorAll('*.no-android-app').forEach((element) => {
element.style.display = 'none';
})
addListenerOpenInBrowserButton(android)
const pinToHomeUrl = document.querySelector('a.pin-to-home')
if (pinToHomeUrl === null) {

File diff suppressed because one or more lines are too long

View File

@ -54,7 +54,7 @@
</a>
</div>
% if ($is_android) {
<div class="description open-browser-container">
<div class="description no-android-app open-browser-container">
<a href="https://play.google.com/store/apps/details?id=info.burguillos.bi" class="open-in-browser">
<img alt="" src="/img/play-store.svg"/>
<span>Prueba nuestra aplicación para Android. Más fácil, mejor.</span>