From bb1445347dbb4a2790ef7de3d5906a92f6f6da2a Mon Sep 17 00:00:00 2001 From: Tha_14 Date: Wed, 6 Mar 2024 00:26:22 +0200 Subject: [PATCH] increase font size for hints --- Antidote/ChatPrivateController.swift | 3 ++- Antidote/ExtendedTextField.swift | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Antidote/ChatPrivateController.swift b/Antidote/ChatPrivateController.swift index 4e0c6fd..fc5e9bc 100644 --- a/Antidote/ChatPrivateController.swift +++ b/Antidote/ChatPrivateController.swift @@ -1255,7 +1255,8 @@ private extension ChatPrivateController { } func updateLastReadDate() { - submanagerObjects.change(chat, lastReadDateInterval: Date().timeIntervalSince1970 ?? 0.0) + //TODO(Tha_14): unwrapping optional value nil error here needs to be handled + submanagerObjects.change(chat, lastReadDateInterval: Date().timeIntervalSince1970) } func imageCellWithMessage(_ message: OCTMessageAbstract, incoming: Bool) -> (ChatMovableDateCellModel, ChatMovableDateCell) { diff --git a/Antidote/ExtendedTextField.swift b/Antidote/ExtendedTextField.swift index e4841b5..b10e276 100644 --- a/Antidote/ExtendedTextField.swift +++ b/Antidote/ExtendedTextField.swift @@ -198,7 +198,7 @@ private extension ExtendedTextField { hintLabel = UILabel() hintLabel.textColor = textColor - hintLabel.font = UIFont.antidoteFontWithSize(14.0, weight: .light) + hintLabel.font = UIFont.antidoteFontWithSize(15.0, weight: .medium) hintLabel.numberOfLines = 0 hintLabel.backgroundColor = .clear addSubview(hintLabel)