MOBILE-4270 messages: Remove nonexistent contrast as ion toolbar color
parent
5c93475553
commit
f39bfa0710
|
@ -103,7 +103,7 @@
|
|||
</ion-fab>
|
||||
</ion-content>
|
||||
<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">
|
||||
{{ 'addon.messages.unabletomessage' | translate }}
|
||||
</p>
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
</core-loading>
|
||||
</ion-content>
|
||||
<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">
|
||||
{{ 'addon.mod_chat.mustbeonlinetosendmessages' | translate }}
|
||||
</p>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</core-loading>
|
||||
</ion-content>
|
||||
<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)"
|
||||
[placeholder]="'core.comments.addcomment' | translate">
|
||||
</core-send-message-form>
|
||||
|
|
|
@ -253,10 +253,6 @@ ion-tabs.hide-header ion-header {
|
|||
display: none;
|
||||
}
|
||||
|
||||
ion-footer ion-toolbar.ion-color-contrast {
|
||||
background-color: var(--contrast-background);
|
||||
}
|
||||
|
||||
ion-footer {
|
||||
background-color: var(--contrast-background);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue