We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01cb1b9 commit 9aa9b3eCopy full SHA for 9aa9b3e
1 file changed
ui/packages/post/PostCompose.js
@@ -35,6 +35,12 @@ const PostCompose = {
35
m.redraw()
36
})
37
}
38
+
39
+ patchfox.listen(
40
+ "preferences:changed",
41
+ () => {
42
+ m.redraw()
43
+ })
44
},
45
oncreate: vnode => {
46
// this code could be in some better/smarter place.
@@ -132,10 +138,6 @@ const PostCompose = {
132
138
window.scrollTo(0,0)
133
139
134
140
135
-
136
- // TODO: This function is duplicated.
137
- // O problema é passar o vnode nessa função caso ela esteja fora.
141
const readFileAndAttach = files => {
142
try {
143
vnode.state.error = false
0 commit comments