Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
ver. 3.7.2 | petits fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Sep 21, 2022
1 parent 39e7bf2 commit d46c5ee
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 2 deletions.
Binary file modified apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash/launch-1125x2436.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash/launch-1242x2208.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash/launch-1242x2688.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash/launch-640x1136.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash/launch-750x1334.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash/launch-828x1792.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,14 @@ function update() {
location.reload(true);
}

function emptyCache() {
caches.keys().then(function(names) {
for (let name of names)
caches.delete(name);
});
location.reload(true);
}

// Charge les données de l'utilisateur
let myName = "";
let avatar = "";
Expand Down Expand Up @@ -679,7 +687,7 @@ for(ext in exts) {
var latestVersion = localStorage.getItem('latestVersion')

// Version de l'app
const version = "3.7.1 stable";
const version = "3.7.2 stable";
const release = '3.7';

// if (release !== latestVersion) {
Expand Down
2 changes: 2 additions & 0 deletions views/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ <h3>Chargement en cours...</h3>
let resp = JSON.parse(data).data.files;

if (resp.length !== 0) {

$('#ListeFichiers').html('');

// sort by time
resp.sort(function(a, b) {
Expand Down
12 changes: 11 additions & 1 deletion views/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,17 @@ <h3>Rafraîchir le token</h3>
</span>
<div class="cours_topData">
<h3>Forcer les mises à jour</h3>
<p>Vide le cache de la version précédente</p>
<p>Force le rafraichissement de l'interface</p>
</div>
</div></a>

<a href="#" onclick="emptyCache()"><div class="cours file" style="--off: 0ms">
<span class="material-symbols-outlined">
delete
</span>
<div class="cours_topData">
<h3>Vider le cache de l'app</h3>
<p>Supprime les données pré-téléchargées</p>
</div>
</div></a>

Expand Down

0 comments on commit d46c5ee

Please sign in to comment.