enable and disable auto check for updates

This commit is contained in:
Matt Hill
2021-01-16 10:22:57 -07:00
committed by Aiden McClelland
parent 0c7eae7333
commit fc9b3a6d69
10 changed files with 37 additions and 27 deletions

View File

@@ -21,13 +21,6 @@
</ion-item>
<ion-item-group>
<ion-item-divider style="margin-top: 0px;">Description</ion-item-divider>
<ion-item lines="none">
<ion-label class="ion-text-wrap">
<h2><ion-text color="medium">Add SSH keys to your Embassy to gain root access from the command line.</ion-text></h2>
</ion-label>
</ion-item>
<ion-item-divider>Saved Keys</ion-item-divider>
<ion-item *ngFor="let fingerprint of server.ssh | async">
<ion-label class="ion-text-wrap">

View File

@@ -20,6 +20,10 @@
<ion-label>Device Name</ion-label>
<ion-note slot="end">{{ server.name | async }}</ion-note>
</ion-item>
<ion-item button (click)="presentModalValueEdit('autoCheckUpdates')">
<ion-label>Auto Check for Updates</ion-label>
<ion-note slot="end">{{ server.autoCheckUpdates | async }}</ion-note>
</ion-item>
<!-- <ion-item style="word-break: break-all;" button (click)="presentModalValueEdit('password', true)">
<ion-label>Change Password</ion-label>
<ion-note slot="end">********</ion-note>

View File

@@ -30,7 +30,7 @@
<ion-item-group>
<ion-item-divider></ion-item-divider>
<ion-item lines="none" button (click)="checkForUpdates()">
<ion-item button (click)="checkForUpdates()">
<ion-icon slot="start" name="refresh-outline" color="primary"></ion-icon>
<ion-label><ion-text style="font-weight: bold;" color="primary">Check for Updates</ion-text></ion-label>
</ion-item>

View File

@@ -110,7 +110,7 @@ export class ServerShowPage {
const alert = await this.alertCtrl.create({
backdropDismiss: false,
header: 'Confirm',
message: `Update EmbassyOS to ${versionLatest}?`,
message: `Update EmbassyOS to version ${versionLatest}?`,
buttons: [
{
text: 'Cancel',