Skip to content

Commit

Permalink
test WebApp MainButton
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed Apr 3, 2024
1 parent 8d99934 commit 9a4ffcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ WebApp.ready();
// Expand the Telegram Mini App to full screen
WebApp.expand();

WebApp.MainButton.enable();
WebApp.MainButton.color = '#000000';
WebApp.MainButton.setText('test');
WebApp.MainButton.show();

// Wallet Connect Config
// 1. Get projectId
const projectId = '10bc66667bce58aa9b1b9284ac74e731';
Expand Down

0 comments on commit 9a4ffcb

Please sign in to comment.