From 501b83de800c7cde35880eede59af5fe58344527 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Sun, 31 Jan 2021 08:41:06 -0800 Subject: [PATCH] Cleanup --- Views/UIKit/AccountHeaderView.swift | 3 +-- Views/UIKit/CompositionView.swift | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Views/UIKit/AccountHeaderView.swift b/Views/UIKit/AccountHeaderView.swift index eb51d06..739642d 100644 --- a/Views/UIKit/AccountHeaderView.swift +++ b/Views/UIKit/AccountHeaderView.swift @@ -254,8 +254,7 @@ private extension AccountHeaderView { } completion([unfollowAction]) - }, - UIAction(title: NSLocalizedString("cancel", comment: "")) { _ in }]) + }]) addSubview(baseStackView) baseStackView.translatesAutoresizingMaskIntoConstraints = false diff --git a/Views/UIKit/CompositionView.swift b/Views/UIKit/CompositionView.swift index 0fada60..5c350de 100644 --- a/Views/UIKit/CompositionView.swift +++ b/Views/UIKit/CompositionView.swift @@ -104,6 +104,7 @@ private extension CompositionView { parentViewModel: parentViewModel) stackView.addArrangedSubview(textView) + textView.keyboardType = .twitter textView.isScrollEnabled = false textView.adjustsFontForContentSizeCategory = true textView.font = textViewFont