Skip to content

Commit

Permalink
Fix the condition for showing Yat address on the Profile screen (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
igordanilcenko authored Oct 3, 2024
1 parent 3c9919e commit 1fb5b71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class WalletInfoFragment : CommonFragment<FragmentWalletInfoBinding, WalletInfoV
ui.yatDisconnectedDescTextView.setVisible(uiState.yatDisconnected && DebugConfig.isYatEnabled)
ui.yatDisconnectedDescTextView.text = string(R.string.wallet_info_yat_disconnected_description)
.makeTextBold(requireContext(), string(R.string.wallet_info_yat_disconnected_description_connect_yats))
ui.emojiIdAddressText.setVisible(!uiState.yatShowing && DebugConfig.isYatEnabled, View.INVISIBLE)
ui.emojiIdAddressText.setVisible(!uiState.yatShowing || !DebugConfig.isYatEnabled, View.INVISIBLE)
ui.yatAddressText.setVisible(uiState.yatShowing && DebugConfig.isYatEnabled)
ui.yatAddressText.text = uiState.yat.orEmpty()
}
Expand Down

0 comments on commit 1fb5b71

Please sign in to comment.