updater hotfix

also fixed beacon select box beeing too small
This commit is contained in:
dj2ls 2022-04-30 15:59:34 +02:00
parent 32b0866c8d
commit 69c3ccd86c
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "FreeDATA",
"version": "0.4.0-alpha.1",
"version": "0.4.0-alpha.2",
"description": "FreeDATA ",
"main": "main.js",
"scripts": {

View file

@ -1906,7 +1906,7 @@ ipcRenderer.on('action-updater', (event, arg) => {
}
if (arg.status == "update-not-available"){
bootstrap.Toast.getOrCreateInstance(document.getElementById('toastUpdateChecking')).hide();
//bootstrap.Toast.getOrCreateInstance(document.getElementById('toastUpdateChecking')).hide();
document.getElementById("updater_status").innerHTML = '<i class="bi bi-check2-square ms-1 me-1" style="color: white;"></i>';
document.getElementById("updater_status").className = "btn btn-success btn-sm";
@ -1914,7 +1914,7 @@ ipcRenderer.on('action-updater', (event, arg) => {
}
if (arg.status == "update-available"){
bootstrap.Toast.getOrCreateInstance(document.getElementById('toastUpdateChecking')).hide();
//bootstrap.Toast.getOrCreateInstance(document.getElementById('toastUpdateChecking')).hide();
document.getElementById("updater_status").innerHTML = "update available...";
document.getElementById("updater_status").className = "btn btn-warning btn-sm";

View file

@ -786,7 +786,7 @@
<i class="bi bi-arrow-clockwise" style="font-size: 0.8rem; color: white;"></i>
</button>
<div class="input-group-text p-1">Beacon</div>
<select class="form-select form-select-sm" aria-label=".form-select-sm" id="beaconInterval" style="width:5rem">
<select class="form-select form-select-sm" aria-label=".form-select-sm" id="beaconInterval" style="width:6rem">
<option value="5">5s</option>
<option selected value="10">10s</option>
<option value="15">15s</option>