diff --git a/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html b/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html index e1c4f8214..57977e0b1 100644 --- a/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html +++ b/ui/src/app/pages/apps-routes/app-installed-list/app-installed-list.page.html @@ -26,7 +26,7 @@
-
+
diff --git a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.html b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.html index 6ceb55e72..133e7f188 100644 --- a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.html +++ b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.html @@ -83,7 +83,7 @@ - + LAUNCH @@ -108,7 +108,7 @@

LAN Address

{{ lanAddress }}

- + diff --git a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts index 19a8ecd64..62e48d0fd 100644 --- a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts +++ b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts @@ -182,6 +182,19 @@ export class AppInstalledShowPage extends Cleanup { await toast.present() } + async copyLan () { + let message = '' + await copyToClipboard(this.lanAddress).then(success => { message = success ? 'copied to clipboard!' : 'failed to copy' }) + + const toast = await this.toastCtrl.create({ + header: message, + position: 'bottom', + duration: 1000, + cssClass: 'notification-toast', + }) + await toast.present() + } + async stop (): Promise { const app = peekProperties(this.app)