[#8631] Fix sticker price UI

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2019-07-25 14:20:22 +02:00
parent f3bb555d52
commit 1ec5d2b64b
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
8 changed files with 24 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

View File

@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "price.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "price@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "price@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

View File

@ -34,7 +34,7 @@
:else (re-frame/dispatch [:stickers/buy-pack id price]))}
[react/view (styles/price-badge (and (not (or owned (zero? price))) (or no-snt? not-enough-snt?)))
(when (and (not (zero? price))) ;(not no-snt?))
[icons/icon :icons/logo {:color colors/white :width 12 :height 12 :container-style {:margin-right 8}}])
[icons/icon :icons/price {:color colors/white :container-style {:margin-right 8}}])
(if pending
[react/activity-indicator {:animating true
:color colors/white}]