Fix swipe-delete delete action handler
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
This commit is contained in:
parent
c1c5854cb1
commit
e185acd92b
|
@ -36,7 +36,7 @@
|
|||
|
||||
(views/defview home-list-deletable [[home-item-id home-item]]
|
||||
(views/letsubs [swiped? [:delete-swipe-position home-item-id]]
|
||||
(let [delete-action (if (:chat-id home-item) :remove-chat :remove-browser)
|
||||
(let [delete-action (if (:chat-id home-item) :delete-chat :remove-browser)
|
||||
inner-item-view (if (:chat-id home-item)
|
||||
inner-item/home-list-chat-item-inner-view
|
||||
inner-item/home-list-browser-item-inner-view)
|
||||
|
|
Loading…
Reference in New Issue