Skip to content

Commit

Permalink
Updated wallet disconnection callback to redirect to language selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
nessshon authored Apr 23, 2024
1 parent 38e00d6 commit ac2457e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/bot/handlers/private/callback_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,7 @@ async def main_menu_callback_query(call: CallbackQuery, manager: Manager, atc_ma
wallet_address=None,
)
await atc_manager.disconnect_wallet()
await atc_manager.connect_wallet(
callbacks=ConnectWalletCallbacks(
before_callback=Window.select_language,
after_callback=Window.main_menu,
),
check_proof=True,
)
await Window.select_language(manager)

elif call.data == "change_language":
await Window.change_language(manager)
Expand Down

0 comments on commit ac2457e

Please sign in to comment.