fix: add nav button to schedule page

This commit is contained in:
Wieland Schöbl
2021-09-21 18:07:10 +02:00
parent 3c7ada4eea
commit e628f396e2
3 changed files with 21 additions and 2 deletions

View File

@@ -14,6 +14,9 @@
-->
<ion-header>
<ion-buttons>
<ion-menu-button></ion-menu-button>
</ion-buttons>
<ion-segment #segment value="calendar" (ionChange)="onSegmentChange()">
<ion-segment-button value="calendar">
<ion-label>{{ 'schedule.calendar' | translate }}</ion-label>

View File

@@ -1,5 +1,21 @@
/*!
* Copyright (C) 2021 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
ion-header {
display: flex;
padding: 8px;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018, 2019 StApps
* Copyright (C) 2021 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -13,7 +13,7 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {Injectable} from '@angular/core';
import {Storage} from '@ionic/storage';
import {Storage} from '@ionic/storage-angular';
/**
* Provides interaction with the (ionic) storage on the device (in the browser)