-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#17986] fix: address feedbacks and removed link to new profile to fi…
…x e2e issue
- Loading branch information
1 parent
f18dd76
commit ad1d740
Showing
4 changed files
with
86 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
(ns status-im2.contexts.profile.settings.list-items | ||
(:require [status-im2.common.not-implemented :as not-implemented] | ||
[utils.i18n :as i18n] | ||
[utils.re-frame :as rf])) | ||
|
||
(def items | ||
[[{:title (i18n/label :t/edit-profile) | ||
:on-press not-implemented/alert | ||
:image-props :i/edit | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/password) | ||
:on-press not-implemented/alert | ||
:image-props :i/password | ||
:image :icon | ||
:action :arrow}] | ||
[{:title (i18n/label :t/messages) | ||
:on-press not-implemented/alert | ||
:image-props :i/messages | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/wallet) | ||
:on-press not-implemented/alert | ||
:image-props :i/wallet | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/dapps) | ||
:on-press not-implemented/alert | ||
:image-props :i/placeholder | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/browser) | ||
:on-press not-implemented/alert | ||
:image-props :i/browser | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/keycard) | ||
:on-press not-implemented/alert | ||
:image-props :i/keycard | ||
:image :icon | ||
:action :arrow}] | ||
[{:title (i18n/label :t/syncing) | ||
:on-press not-implemented/alert | ||
:image-props :i/syncing | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/notifications) | ||
:on-press not-implemented/alert | ||
:image-props :i/notifications | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/appearance) | ||
:on-press not-implemented/alert | ||
:image-props :i/light | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/language-and-currency) | ||
:on-press not-implemented/alert | ||
:image-props :i/globe | ||
:image :icon | ||
:action :arrow}] | ||
[{:title (i18n/label :t/data-usage) | ||
:on-press not-implemented/alert | ||
:image-props :i/mobile | ||
:image :icon | ||
:action :arrow} | ||
{:title (i18n/label :t/advanced) | ||
:on-press not-implemented/alert | ||
:image-props :i/settings | ||
:image :icon | ||
:action :arrow}] | ||
;; temporary link to legacy settings | ||
[{:title "Legacy settings" | ||
:on-press #(rf/dispatch [:navigate-to :my-profile]) | ||
:action :arrow | ||
:image :icon | ||
:image-props :i/toggle}] | ||
[{:title (i18n/label :t/about) | ||
:on-press not-implemented/alert | ||
:action :arrow} | ||
{:title (i18n/label :t/status-help) | ||
:on-press not-implemented/alert | ||
:action :arrow}]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters