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

@@ -1,5 +1,5 @@
<ion-item button lines="none" *ngIf="updateAvailable$ | async as version" (click)="confirmUpdate(version)">
<ion-label>
New Embassy OS Version {{version | displayEmver}} Available!
New EmbassyOS Version {{version | displayEmver}} Available!
</ion-label>
</ion-item>

View File

@@ -23,8 +23,8 @@ export class UpdateOsBannerComponent {
async confirmUpdate (versionLatest: string) {
const alert = await this.alertCtrl.create({
header: `Update Embassy OS`,
message: `Are you sure you want to update your Embassy OS to version ${versionLatest}?`,
header: `Update EmbassyOS`,
message: `Update EmbassyOS to version ${versionLatest}?`,
buttons: [
{
text: 'Cancel',