feat: hot rcmd entrance

Closes #151

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-14 11:54:40 +08:00
parent d4b005f6ae
commit c1104c931b
7 changed files with 176 additions and 20 deletions

View File

@@ -63,8 +63,12 @@ class Utils {
);
}
static void handleWebview(String url, {bool off = false}) {
if (GStorage.openInBrowser) {
static void handleWebview(
String url, {
bool off = false,
bool inApp = false,
}) {
if (inApp.not && GStorage.openInBrowser) {
launchURL(url);
} else {
if (off) {