This commit is contained in:
Peter Maquiran
2021-10-25 15:31:43 +01:00
parent 8da2133486
commit 032042635d
30 changed files with 67 additions and 26 deletions
@@ -1,7 +1,8 @@
<ion-content class="options-container">
<div class="arrow-right">
<button class="btn-no-color" (click)="close('cancel')">
<ion-icon slot="end" class="arrow-right-icon" src='assets/images/icons-arrow-arrow-right.svg'></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "slot="end" class="arrow-right-icon" src='assets/images/icons-arrow-arrow-right.svg'></ion-icon>
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" class="arrow-right-icon" src='assets/images/theme/gov/icons-calendar-arrow-right.svg'></ion-icon>
</button>
</div>
<div class="buttons">
@@ -37,7 +37,7 @@
margin-bottom: 10px !important;
}
.btn-cancel:hover, .btn-delete:hover{
background-color: #42b9fe;
background-color: var(--button-hover);
color: #fff !important;
}
.btn-ok{
@@ -2,6 +2,8 @@ import { Component, OnInit } from '@angular/core';
import { ModalController, NavParams, PopoverController } from '@ionic/angular';
import { ChatService } from 'src/app/services/chat.service';
import { ToastService } from 'src/app/services/toast.service';
import { ThemeService } from 'src/app/services/theme.service'
@Component({
selector: 'app-chat-popover',
@@ -18,6 +20,7 @@ export class ChatPopoverPage implements OnInit {
private navParams: NavParams,
private chatService: ChatService,
private toastService: ToastService,
public ThemeService: ThemeService
) {
this.roomId = this.navParams.get('roomId');
}