Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Activity Center as the new default #14492

Merged
merged 4 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/quo2/components/notifications/activity_log/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
(map (fn [s]
[rn/view {:style {:margin-right 4
:margin-top 0}}
[text/text {:size :paragraph-2}
[text/text {:size :paragraph-2
:style {:color colors/white}}
s]])
(string/split detail #"\s+"))
[[rn/view {:margin-right 4
Expand Down
2 changes: 1 addition & 1 deletion src/quo2/components/tabs/tabs.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
:on-press (fn [id]
(reset! active-tab-id id)
(when scroll-on-press?
(.scrollToIndex @flat-list-ref
(.scrollToIndex ^js @flat-list-ref
#js {:animated true
:index index
:viewPosition 0.5}))
Expand Down
13 changes: 7 additions & 6 deletions src/status_im/ui/screens/activity_center/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@
[]
(let [screen-padding 20]
[rn/view
[quo2/button {:icon true
:type :blur-bg
:size 32
:override-theme :dark
:style style/header-button
:on-press #(rf/dispatch [:hide-popover])}
[quo2/button {:icon true
:type :blur-bg
:size 32
:accessibility-label :close-activity-center
:override-theme :dark
:style style/header-button
:on-press #(rf/dispatch [:hide-popover])}
:i/close]
[quo2/text {:size :heading-1
:weight :semi-bold
Expand Down
2 changes: 1 addition & 1 deletion src/status_im2/setup/config.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@

;; TODO: Remove this (highly) temporary flag once the new Activity Center is
;; usable enough to replace the old one **in the new UI**.
(def new-activity-center-enabled? false)
(def new-activity-center-enabled? true)