Skip to content

Commit

Permalink
feat(bridge): add web_app_set_bottom_bar_color to support checks
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk committed Oct 1, 2024
1 parent d60342b commit 816bed8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/bridge/src/methods/supports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ describe.each<[
]],
['7.10', [
'web_app_setup_secondary_button',
'web_app_set_bottom_bar_color',
{
title: 'web_app_setup_main_button.has_shine_effect',
method: 'web_app_setup_main_button',
Expand Down
1 change: 1 addition & 0 deletions packages/bridge/src/methods/supports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export function supports(
case 'web_app_setup_swipe_behavior':
return versionLessOrEqual('7.7', paramOrVersion);
case 'web_app_setup_secondary_button':
case 'web_app_set_bottom_bar_color':
return versionLessOrEqual('7.10', paramOrVersion);
default:
return [
Expand Down

0 comments on commit 816bed8

Please sign in to comment.