|
| 1 | +(ns status-im2.contexts.profile.settings.list-items |
| 2 | + (:require [status-im2.common.not-implemented :as not-implemented] |
| 3 | + [utils.i18n :as i18n] |
| 4 | + [utils.re-frame :as rf])) |
| 5 | + |
| 6 | +(def items |
| 7 | + [[{:title (i18n/label :t/edit-profile) |
| 8 | + :on-press not-implemented/alert |
| 9 | + :image-props :i/edit |
| 10 | + :image :icon |
| 11 | + :action :arrow} |
| 12 | + {:title (i18n/label :t/password) |
| 13 | + :on-press not-implemented/alert |
| 14 | + :image-props :i/password |
| 15 | + :image :icon |
| 16 | + :action :arrow}] |
| 17 | + [{:title (i18n/label :t/messages) |
| 18 | + :on-press not-implemented/alert |
| 19 | + :image-props :i/messages |
| 20 | + :image :icon |
| 21 | + :action :arrow} |
| 22 | + {:title (i18n/label :t/wallet) |
| 23 | + :on-press not-implemented/alert |
| 24 | + :image-props :i/wallet |
| 25 | + :image :icon |
| 26 | + :action :arrow} |
| 27 | + {:title (i18n/label :t/dapps) |
| 28 | + :on-press not-implemented/alert |
| 29 | + :image-props :i/placeholder |
| 30 | + :image :icon |
| 31 | + :action :arrow} |
| 32 | + {:title "Browser" |
| 33 | + :on-press not-implemented/alert |
| 34 | + :image-props :i/browser |
| 35 | + :image :icon |
| 36 | + :action :arrow} |
| 37 | + {:title (i18n/label :t/keycard) |
| 38 | + :on-press not-implemented/alert |
| 39 | + :image-props :i/keycard |
| 40 | + :image :icon |
| 41 | + :action :arrow}] |
| 42 | + [{:title (i18n/label :t/syncing) |
| 43 | + :on-press not-implemented/alert |
| 44 | + :image-props :i/syncing |
| 45 | + :image :icon |
| 46 | + :action :arrow} |
| 47 | + {:title (i18n/label :t/notifications) |
| 48 | + :on-press not-implemented/alert |
| 49 | + :image-props :i/notifications |
| 50 | + :image :icon |
| 51 | + :action :arrow} |
| 52 | + {:title (i18n/label :t/appearance) |
| 53 | + :on-press not-implemented/alert |
| 54 | + :image-props :i/light |
| 55 | + :image :icon |
| 56 | + :action :arrow} |
| 57 | + {:title (i18n/label :t/language-and-currency) |
| 58 | + :on-press not-implemented/alert |
| 59 | + :image-props :i/globe |
| 60 | + :image :icon |
| 61 | + :action :arrow}] |
| 62 | + [{:title (i18n/label :t/data-usage) |
| 63 | + :on-press not-implemented/alert |
| 64 | + :image-props :i/mobile |
| 65 | + :image :icon |
| 66 | + :action :arrow} |
| 67 | + {:title (i18n/label :t/advanced) |
| 68 | + :on-press not-implemented/alert |
| 69 | + :image-props :i/settings |
| 70 | + :image :icon |
| 71 | + :action :arrow}] |
| 72 | + ;; temporary link to legacy settings |
| 73 | + [{:title "Legacy settings" |
| 74 | + :on-press #(rf/dispatch [:navigate-to :my-profile]) |
| 75 | + :action :arrow |
| 76 | + :image :icon |
| 77 | + :image-props :i/toggle}] |
| 78 | + [{:title (i18n/label :t/about) |
| 79 | + :on-press not-implemented/alert |
| 80 | + :action :arrow} |
| 81 | + {:title (i18n/label :t/status-help) |
| 82 | + :on-press not-implemented/alert |
| 83 | + :action :arrow}]]) |
0 commit comments