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