From 31df05825ca21df7b0108e200681d6c2ab83fe33 Mon Sep 17 00:00:00 2001
From: renahlee <renahlee@outlook.com>
Date: Wed, 19 Apr 2023 10:51:33 -0700
Subject: Support CMD + Enter to publish post

---
 src/view/com/composer/text-input/TextInput.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/view/com/composer/text-input/TextInput.tsx')

diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx
index 9c111bd38..10ac52b5d 100644
--- a/src/view/com/composer/text-input/TextInput.tsx
+++ b/src/view/com/composer/text-input/TextInput.tsx
@@ -34,6 +34,7 @@ interface TextInputProps {
   autocompleteView: UserAutocompleteModel
   setRichText: (v: RichText) => void
   onPhotoPasted: (uri: string) => void
+  onPressPublish: (richtext: RichText) => Promise<false | undefined>
   onSuggestedLinksChanged: (uris: Set<string>) => void
   onError: (err: string) => void
 }
-- 
cgit 1.4.1

