mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
fix: assign navigation app name dynamically
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
|||||||
SCTranslations,
|
SCTranslations,
|
||||||
} from '@openstapps/core';
|
} from '@openstapps/core';
|
||||||
import {NavigationService} from './navigation.service';
|
import {NavigationService} from './navigation.service';
|
||||||
|
import config from 'capacitor.config';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated class for the MenuPage page.
|
* Generated class for the MenuPage page.
|
||||||
@@ -34,6 +35,11 @@ import {NavigationService} from './navigation.service';
|
|||||||
templateUrl: 'navigation.html',
|
templateUrl: 'navigation.html',
|
||||||
})
|
})
|
||||||
export class NavigationComponent implements OnInit {
|
export class NavigationComponent implements OnInit {
|
||||||
|
/**
|
||||||
|
* Name of the app
|
||||||
|
*/
|
||||||
|
appName = config.appName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Possible languages to be used for translation
|
* Possible languages to be used for translation
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
<ion-title>
|
<ion-title>
|
||||||
<img src="assets/imgs/logo.png" alt="" />
|
<img src="assets/imgs/logo.png" alt="" />
|
||||||
<span class="text">StApps</span>
|
<span class="text">{{ appName }}</span>
|
||||||
</ion-title>
|
</ion-title>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
</ion-header>
|
</ion-header>
|
||||||
|
|||||||
Reference in New Issue
Block a user