MOBILE-4270 messages: Remove nonexistent contrast as ion toolbar color

main
Pau Ferrer Ocaña 2023-05-10 12:27:26 +02:00
parent 5c93475553
commit f39bfa0710
4 changed files with 3 additions and 7 deletions

View File

@ -103,7 +103,7 @@
</ion-fab> </ion-fab>
</ion-content> </ion-content>
<ion-footer class="footer-adjustable" *ngIf="loaded && (!conversationId || conversation)"> <ion-footer class="footer-adjustable" *ngIf="loaded && (!conversationId || conversation)">
<ion-toolbar [color]="footerType == 'message' ? 'contrast' : 'light'"> <ion-toolbar [color]="footerType == 'message' ? null : 'light'">
<p *ngIf="footerType == 'unable'" class="ion-text-center ion-margin-horizontal"> <p *ngIf="footerType == 'unable'" class="ion-text-center ion-margin-horizontal">
{{ 'addon.messages.unabletomessage' | translate }} {{ 'addon.messages.unabletomessage' | translate }}
</p> </p>

View File

@ -93,7 +93,7 @@
</core-loading> </core-loading>
</ion-content> </ion-content>
<ion-footer class="footer-adjustable"> <ion-footer class="footer-adjustable">
<ion-toolbar [color]="isOnline && polling && loaded ? 'contrast' : 'light'"> <ion-toolbar [color]="isOnline && polling && loaded ? null : 'light'">
<p class="ion-text-center" *ngIf="!isOnline"> <p class="ion-text-center" *ngIf="!isOnline">
{{ 'addon.mod_chat.mustbeonlinetosendmessages' | translate }} {{ 'addon.mod_chat.mustbeonlinetosendmessages' | translate }}
</p> </p>

View File

@ -64,7 +64,7 @@
</core-loading> </core-loading>
</ion-content> </ion-content>
<ion-footer class="footer-adjustable" *ngIf="commentsLoaded && canAddComments"> <ion-footer class="footer-adjustable" *ngIf="commentsLoaded && canAddComments">
<ion-toolbar color="contrast"> <ion-toolbar>
<core-send-message-form [sendDisabled]="sending" [message]="newComment" (onSubmit)="addComment($event)" <core-send-message-form [sendDisabled]="sending" [message]="newComment" (onSubmit)="addComment($event)"
[placeholder]="'core.comments.addcomment' | translate"> [placeholder]="'core.comments.addcomment' | translate">
</core-send-message-form> </core-send-message-form>

View File

@ -253,10 +253,6 @@ ion-tabs.hide-header ion-header {
display: none; display: none;
} }
ion-footer ion-toolbar.ion-color-contrast {
background-color: var(--contrast-background);
}
ion-footer { ion-footer {
background-color: var(--contrast-background); background-color: var(--contrast-background);
} }