Skip to content

Commit bc8023e

Browse files
committed
_
1 parent 732d46e commit bc8023e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/status_im/utils/logging/core.cljs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
(datetime/now))]))))
9999

100100
(fx/defn dialog-closed
101-
{:events [:logging/dialog-canceled]}
101+
{:events [:logging/dialog-left]}
102102
[{:keys [db]}]
103103
{:db (dissoc db :logging/dialog-shown?)})
104104

@@ -169,11 +169,13 @@
169169
:content (i18n/label :t/send-logs-to
170170
{:email report-email})
171171
:confirm-button-text (i18n/label :t/send-logs)
172-
:on-accept #(re-frame/dispatch
173-
[:bottom-sheet/show-sheet
174-
{:content (fn [] [bug-report/bug-report])}])
172+
:on-accept #(do (re-frame/dispatch
173+
[:bottom-sheet/show-sheet
174+
{:content (fn [] [bug-report/bug-report])}])
175+
(re-frame/dispatch
176+
[:logging/dialog-left]))
175177
:on-cancel #(re-frame/dispatch
176-
[:logging/dialog-canceled])}
178+
[:logging/dialog-left])}
177179

178180
platform/ios?
179181
(assoc :extra-options [{:text (i18n/label :t/share-logs)

0 commit comments

Comments
 (0)