You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
misc: drop homescreen shortcut button
this feature is no longer needed since you can add shortcut from webui-x manager.
This commit is contained in:
@@ -82,7 +82,6 @@
|
|||||||
<li class="ripple-element" id="customkb" data-i18n="menu_set_custom_keybox"></li>
|
<li class="ripple-element" id="customkb" data-i18n="menu_set_custom_keybox"></li>
|
||||||
<li class="ripple-element" id="boot-hash" data-i18n="menu_set_verified_boot_hash"></li>
|
<li class="ripple-element" id="boot-hash" data-i18n="menu_set_verified_boot_hash"></li>
|
||||||
<li class="ripple-element" id="security-patch" data-i18n="menu_set_security_patch"></li>
|
<li class="ripple-element" id="security-patch" data-i18n="menu_set_security_patch"></li>
|
||||||
<li class="ripple-element" id="shortcut" data-i18n="menu_shortcut"></li>
|
|
||||||
<li class="ripple-element" id="about" data-i18n="menu_about"></li>
|
<li class="ripple-element" id="about" data-i18n="menu_about"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -53,7 +53,6 @@
|
|||||||
<string name="menu_set_verified_boot_hash">Set Verified Boot Hash</string>
|
<string name="menu_set_verified_boot_hash">Set Verified Boot Hash</string>
|
||||||
<string name="menu_set_security_patch">Set Security Patch</string>
|
<string name="menu_set_security_patch">Set Security Patch</string>
|
||||||
<string name="menu_about">About</string>
|
<string name="menu_about">About</string>
|
||||||
<string name="menu_shortcut">Create home screen shortcut</string>
|
|
||||||
<!-- Boot Hash -->
|
<!-- Boot Hash -->
|
||||||
<string name="boot_hash_title">Boot Hash</string>
|
<string name="boot_hash_title">Boot Hash</string>
|
||||||
<string name="boot_hash_input_placeholder">Paste your verified Boot Hash here</string>
|
<string name="boot_hash_input_placeholder">Paste your verified Boot Hash here</string>
|
||||||
@@ -95,7 +94,6 @@
|
|||||||
<string name="prompt_no_file_selected">No file selected</string>
|
<string name="prompt_no_file_selected">No file selected</string>
|
||||||
<string name="prompt_system_app_not_found">System app not found</string>
|
<string name="prompt_system_app_not_found">System app not found</string>
|
||||||
<string name="prompt_system_app_error">Failed to add system app</string>
|
<string name="prompt_system_app_error">Failed to add system app</string>
|
||||||
<string name="prompt_shortcut_created">Home screen shortcut created</string>
|
|
||||||
<!-- Security Patch -->
|
<!-- Security Patch -->
|
||||||
<string name="security_patch_title">Security Patch</string>
|
<string name="security_patch_title">Security Patch</string>
|
||||||
<string name="security_patch_advanced_mode">Advanced</string>
|
<string name="security_patch_advanced_mode">Advanced</string>
|
||||||
|
|||||||
@@ -53,7 +53,6 @@
|
|||||||
<string name="menu_set_verified_boot_hash">Set Verified Boot Hash</string>
|
<string name="menu_set_verified_boot_hash">Set Verified Boot Hash</string>
|
||||||
<string name="menu_set_security_patch">Set Security Patch</string>
|
<string name="menu_set_security_patch">Set Security Patch</string>
|
||||||
<string name="menu_about">About</string>
|
<string name="menu_about">About</string>
|
||||||
<string name="menu_shortcut">Create home screen shortcut</string>
|
|
||||||
<!-- Boot Hash -->
|
<!-- Boot Hash -->
|
||||||
<string name="boot_hash_title">Boot Hash</string>
|
<string name="boot_hash_title">Boot Hash</string>
|
||||||
<string name="boot_hash_input_placeholder">Paste your verified Boot Hash here</string>
|
<string name="boot_hash_input_placeholder">Paste your verified Boot Hash here</string>
|
||||||
@@ -95,7 +94,6 @@
|
|||||||
<string name="prompt_no_file_selected">No file selected</string>
|
<string name="prompt_no_file_selected">No file selected</string>
|
||||||
<string name="prompt_system_app_not_found">System app not found</string>
|
<string name="prompt_system_app_not_found">System app not found</string>
|
||||||
<string name="prompt_system_app_error">Failed to add system app</string>
|
<string name="prompt_system_app_error">Failed to add system app</string>
|
||||||
<string name="prompt_shortcut_created">Home screen shortcut created</string>
|
|
||||||
<!-- Security Patch -->
|
<!-- Security Patch -->
|
||||||
<string name="security_patch_title">Security Patch</string>
|
<string name="security_patch_title">Security Patch</string>
|
||||||
<string name="security_patch_advanced_mode">Advanced</string>
|
<string name="security_patch_advanced_mode">Advanced</string>
|
||||||
|
|||||||
@@ -205,14 +205,6 @@ function checkMMRL() {
|
|||||||
if (window.$tricky_store && Object.keys($tricky_store).length > 0) {
|
if (window.$tricky_store && Object.keys($tricky_store).length > 0) {
|
||||||
// Set status bars theme based on device theme
|
// Set status bars theme based on device theme
|
||||||
$tricky_store.setLightStatusBars(!window.matchMedia('(prefers-color-scheme: dark)').matches)
|
$tricky_store.setLightStatusBars(!window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||||||
|
|
||||||
// Create home screen shortcut
|
|
||||||
const shortcutButton = document.getElementById('shortcut');
|
|
||||||
shortcutButton.style.display = 'flex';
|
|
||||||
shortcutButton.addEventListener('click', () => {
|
|
||||||
$tricky_store.createShortcut();
|
|
||||||
showPrompt("prompt_shortcut_created", true);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -113,7 +113,6 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#shortcut,
|
|
||||||
#select-denylist,
|
#select-denylist,
|
||||||
#security-patch {
|
#security-patch {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user