fix home message

This commit is contained in:
user committed 2024-08-11 07:51:17 +03:00
1 parent d8aeacbdcd
commit 6f5082b860
3 files changed
+4 -2

No files matched your search

+1 -2
View File
@@ -15,8 +15,7 @@ async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs):
chat_wrap, user.translated('home_menu').format(
wallet_address=(
Address(wallet_connection.wallet_address).to_string(1, 1, 1)
if wallet_connection.wallet_address
else user.translated('noWalletConnected')
if wallet_connection else user.translated('noWalletConnected')
),
name=user.front_format(plain_text=True),
), keyboard=get_inline_keyboard([