From 65f89097390b681be7fc5a58ff822350faf5017b Mon Sep 17 00:00:00 2001 From: just-software-dev Date: Fri, 29 Nov 2024 18:37:39 -0300 Subject: [PATCH] [trello.com/c/6aOhwhtl] Fee label fix --- Adamant/Modules/Chat/View/Subviews/ChatInputBar.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adamant/Modules/Chat/View/Subviews/ChatInputBar.swift b/Adamant/Modules/Chat/View/Subviews/ChatInputBar.swift index 8d24b2168..e46c86891 100644 --- a/Adamant/Modules/Chat/View/Subviews/ChatInputBar.swift +++ b/Adamant/Modules/Chat/View/Subviews/ChatInputBar.swift @@ -90,7 +90,7 @@ final class ChatInputBar: InputBarAccessoryView { private extension ChatInputBar { func updateFeeLabel() { - feeLabel.setTitle(fee, for: .normal) + feeLabel.setTitle(fee.isEmpty ? " " : fee, for: .normal) feeLabel.setSize(feeLabel.titleLabel?.intrinsicContentSize ?? .zero, animated: false) }