-
Notifications
You must be signed in to change notification settings - Fork 985
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
Bug/improved wallet styles #2053
Conversation
:letter-spacing 0.2} | ||
{:font-size 14 | ||
:padding-vertical 10 | ||
:letter-spacing 0.5} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last time I checked letter-spacing doesn't work with react-native on Android
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, see #2045. But it might at some point so better add it now.
@@ -24,12 +24,9 @@ | |||
(let [amount' (string/replace amount #"," ".") | |||
amount-splited (string/split amount' #"[.]")] | |||
(cond | |||
(or (nil? amount) (= amount "") (re-matches #"0[,.]0*$" amount)) | |||
(or (nil? amount) (= amount "") (= amount "0") (re-matches #"0[,.]0*$" amount)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we name whatever this condition is? Looks like something like no-amount-present?
, could be in let or if we re-use it.
Not part of PR, but I also noticed there is some weird parse float / try-catch with money just under this piece of code, it seems like that belongs in money.cljs
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
(ns status-im.ui.screens.wallet.wallet-list.subs | ||
(:require [re-frame.core :as re-frame])) | ||
|
||
;; TODO update when adding multiple wallet support. This will probably require changes to app-db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO(name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -36,16 +36,17 @@ | |||
(border position))) | |||
|
|||
(defnstyle button-text [disabled?] | |||
{:font-size 15 | |||
:font-weight "normal" | |||
{:font-weight "normal" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be :normal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
964b32c
to
efbc32c
Compare
@jeluard please resolve conflicts |
Agreed to change the long wallet title. It will be like 'Основной кош..' instead of |
efbc32c
to
80f9f8c
Compare
Make wallet list show correct amount Wallet name should be cut if too long
80f9f8c
to
a189163
Compare
Summary:
Steps to test:
status: ready