about summary refs log tree commit diff
path: root/src/state/models/ui/shell.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-08-16 10:46:52 -0700
committerGitHub <noreply@github.com>2023-08-16 10:46:52 -0700
commit5e63d3164b58552f81b597eff83cba991bea958e (patch)
tree1fb8ac4d1405a19c6c261f3da7b10244ae83502a /src/state/models/ui/shell.ts
parent819340dd3c34e89e8cd7126c6f1172aba7a8ebec (diff)
downloadvoidsky-5e63d3164b58552f81b597eff83cba991bea958e.tar.zst
A set of composer fixes (#1187)
* Don't insert a newline on cmd+entrl (close #1173)

* Don't linkify selected text on url-paste (close #1149)

* Disable the adult content controls if there is no media on the post (close #1169)
Diffstat (limited to 'src/state/models/ui/shell.ts')
-rw-r--r--src/state/models/ui/shell.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts
index e5fd5d426..92d028c79 100644
--- a/src/state/models/ui/shell.ts
+++ b/src/state/models/ui/shell.ts
@@ -102,6 +102,7 @@ export interface RepostModal {
 export interface SelfLabelModal {
   name: 'self-label'
   labels: string[]
+  hasMedia: boolean
   onChange: (labels: string[]) => void
 }