fix: token requirements margin issues
This commit is contained in:
parent
e9bbb34797
commit
3067b814b1
|
@ -39,7 +39,9 @@
|
||||||
:right-icon :i/chevron-right
|
:right-icon :i/chevron-right
|
||||||
:accessibility-label :view-token-gating
|
:accessibility-label :view-token-gating
|
||||||
:on-press #(rf/dispatch [:show-bottom-sheet
|
:on-press #(rf/dispatch [:show-bottom-sheet
|
||||||
{:content (fn [] [token-gating/token-requirements id])}])
|
{:content (fn [] [token-gating/token-requirements
|
||||||
|
id])
|
||||||
|
:padding-bottom-override 16}])
|
||||||
:label (i18n/label :t/view-token-gating)})
|
:label (i18n/label :t/view-token-gating)})
|
||||||
|
|
||||||
(defn edit-shared-addresses
|
(defn edit-shared-addresses
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
[]
|
[]
|
||||||
(fn [id]
|
(fn [id]
|
||||||
(let [{:keys [can-request-access? tokens]} (rf/sub [:community/token-gated-overview id])]
|
(let [{:keys [can-request-access? tokens]} (rf/sub [:community/token-gated-overview id])]
|
||||||
[rn/view {:style {:padding-horizontal 12}}
|
[rn/view {:style {:padding-horizontal 20}}
|
||||||
[quo/text {:weight :medium}
|
[quo/text {:weight :medium}
|
||||||
(if can-request-access?
|
(if can-request-access?
|
||||||
(i18n/label :t/you-eligible-to-join)
|
(i18n/label :t/you-eligible-to-join)
|
||||||
(i18n/label :t/you-not-eligible-to-join))]
|
(i18n/label :t/you-not-eligible-to-join))]
|
||||||
[quo/text {:style {:padding-bottom 18} :size :paragraph-2}
|
[quo/text {:style {:padding-bottom 8} :size :paragraph-2}
|
||||||
(if can-request-access?
|
(if can-request-access?
|
||||||
(i18n/label :t/you-hodl)
|
(i18n/label :t/you-hodl)
|
||||||
(i18n/label :t/you-must-hold))]
|
(i18n/label :t/you-must-hold))]
|
||||||
|
|
Loading…
Reference in New Issue