refactor: rename functions to make sense

This commit is contained in:
tdgao
2026-07-24 09:13:50 -07:00
parent 6b3869a657
commit 3c61dda7be
5 changed files with 19 additions and 23 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ export async function hide_ads_window(reset) {
return await invoke('plugin:ads|hide_ads_window', { reset })
}
export async function get_ads_consent_required() {
return await invoke('plugin:ads|get_ads_consent_required')
export async function should_show_ads_consent_popup() {
return await invoke('plugin:ads|should_show_ads_consent_popup')
}
export async function perform_ads_consent_action(action) {