From aa234168dab8c3501ef5878332266fc681af8c48 Mon Sep 17 00:00:00 2001 From: Eduard Maximovich Date: Tue, 30 Jan 2024 12:57:43 +0400 Subject: [PATCH] ETH-795 - new action buttons --- .../p2p/wallet/home/ui/crypto/MyCryptoPresenter.kt | 4 ++-- app/src/main/res/layout/item_home_button.xml | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/org/p2p/wallet/home/ui/crypto/MyCryptoPresenter.kt b/app/src/main/java/org/p2p/wallet/home/ui/crypto/MyCryptoPresenter.kt index cd307b8440..30b9e14101 100644 --- a/app/src/main/java/org/p2p/wallet/home/ui/crypto/MyCryptoPresenter.kt +++ b/app/src/main/java/org/p2p/wallet/home/ui/crypto/MyCryptoPresenter.kt @@ -198,10 +198,10 @@ class MyCryptoPresenter( private fun prepareAndShowActionButtons() { val buttons = listOf( - ActionButton.RECEIVE_BUTTON, ActionButton.SELL_BUTTON, - ActionButton.SWAP_BUTTON, ActionButton.BUY_BUTTON, + ActionButton.SWAP_BUTTON, + ActionButton.RECEIVE_BUTTON, ActionButton.SEND_BUTTON ) view?.showActionButtons(buttons) diff --git a/app/src/main/res/layout/item_home_button.xml b/app/src/main/res/layout/item_home_button.xml index ac5e414650..838bb91d0b 100644 --- a/app/src/main/res/layout/item_home_button.xml +++ b/app/src/main/res/layout/item_home_button.xml @@ -12,12 +12,13 @@ + android:src="@drawable/ic_plus" + app:tint="@color/text_mountain" />