MOBILE-3814 about: Move device info to the footer

main
Pau Ferrer Ocaña 2022-01-21 16:16:44 +01:00
parent 6041ec0137
commit 86d4dd5afc
3 changed files with 13 additions and 6 deletions

View File

@ -13,12 +13,6 @@
<ion-content>
<ion-list>
<ion-item button class="ion-text-wrap" detail="false" (click)="openPage('deviceinfo')">
<ion-icon name="fas-mobile" slot="start" aria-hidden="true"></ion-icon>
<ion-label>
<h2>{{ appName }} {{ versionName }}</h2>
</ion-label>
</ion-item>
<ion-item button class="ion-text-wrap" (click)="openPage('licenses')" detail="true">
<ion-icon name="far-copyright" slot="start" aria-hidden="true"></ion-icon>
<ion-label>{{ 'core.settings.opensourcelicenses' | translate }}</ion-label>
@ -40,3 +34,12 @@
</ion-item>
</ion-list>
</ion-content>
<ion-footer class="ion-no-border">
<ion-item button class="ion-text-wrap ion-text-center core-about-deviceinfo" detail="false" (click)="openPage('deviceinfo')"
lines="none">
<ion-label>
<h2>{{ appName }} {{ versionName }}</h2>
</ion-label>
</ion-item>
</ion-footer>

View File

@ -0,0 +1,3 @@
.core-about-deviceinfo {
--background: transparent;
}

View File

@ -24,6 +24,7 @@ import { CoreNavigator } from '@services/navigator';
@Component({
selector: 'page-core-app-settings-about',
templateUrl: 'about.html',
styleUrls: ['about.scss'],
})
export class CoreSettingsAboutPage {