From e81ac0a8470503c702a2c04da9395b03d38aaf79 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 3 Apr 2023 14:09:05 +0200 Subject: [PATCH] feat: updated NoticeBanner style --- ts/components/NoticeBanner.tsx | 3 +-- ts/models/conversation.ts | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ts/components/NoticeBanner.tsx b/ts/components/NoticeBanner.tsx index b309d87b9..7adf44220 100644 --- a/ts/components/NoticeBanner.tsx +++ b/ts/components/NoticeBanner.tsx @@ -5,9 +5,8 @@ import { Flex } from './basic/Flex'; const StyledNoticeBanner = styled(Flex)` background-color: var(--primary-color); color: var(--background-primary-color); - min-height: 30px; font-size: var(--font-size-lg); - padding: 0 var(--margins-sm); + padding: var(--margins-xs) var(--margins-sm); text-align: center; `; diff --git a/ts/models/conversation.ts b/ts/models/conversation.ts index f25da3254..0fff05a3b 100644 --- a/ts/models/conversation.ts +++ b/ts/models/conversation.ts @@ -1088,11 +1088,6 @@ export class ConversationModel extends Backbone.Model { return; } - if (expirationType === 'legacy') { - // TODO If we are the new client then we ignore these updates - // TODO trigger UI - } - const isOutgoing = Boolean(!receivedAt); source = source || UserUtils.getOurPubKeyStrFromCache();