From 23d98b9557a28b05cda559fa2f17b9e6b548cbec Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 23 Nov 2022 13:07:09 -0600 Subject: [PATCH] Turn composer character counter into a countdown --- src/view/com/composer/ComposePost.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/com/composer/ComposePost.tsx b/src/view/com/composer/ComposePost.tsx index cc9eca06..22659378 100644 --- a/src/view/com/composer/ComposePost.tsx +++ b/src/view/com/composer/ComposePost.tsx @@ -175,7 +175,7 @@ export const ComposePost = observer(function ComposePost({ style={[s.flexRow, {alignItems: 'center'}, s.pt10, s.pb10, s.pr5]}> - {text.length} / {MAX_TEXT_LENGTH} + {MAX_TEXT_LENGTH - text.length}