From f66e62d13b4ed7b272d87e8f4519c0ca3a6e34b1 Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Sun, 23 Apr 2023 02:43:34 +0200 Subject: [PATCH] [UI > QuickInstall] Please the Beef (#68) --- src/ui/quickInstall/forumPost.tsx | 2 +- src/ui/quickInstall/url.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/quickInstall/forumPost.tsx b/src/ui/quickInstall/forumPost.tsx index 772042f..80f30cf 100644 --- a/src/ui/quickInstall/forumPost.tsx +++ b/src/ui/quickInstall/forumPost.tsx @@ -1,5 +1,5 @@ -import { DISCORD_SERVER_ID, PLUGINS_CHANNEL_ID, THEMES_CHANNEL_ID, HTTP_REGEX_MULTI, PROXY_PREFIX } from "@lib/constants"; import { findByName, findByProps } from "@metro/filters"; +import { DISCORD_SERVER_ID, PLUGINS_CHANNEL_ID, THEMES_CHANNEL_ID, HTTP_REGEX_MULTI, PROXY_PREFIX } from "@lib/constants"; import { after } from "@lib/patcher"; import { installPlugin } from "@lib/plugins"; import { installTheme } from "@lib/themes"; diff --git a/src/ui/quickInstall/url.tsx b/src/ui/quickInstall/url.tsx index a9ae6d2..499d8ed 100644 --- a/src/ui/quickInstall/url.tsx +++ b/src/ui/quickInstall/url.tsx @@ -1,12 +1,12 @@ -import { PROXY_PREFIX, THEMES_CHANNEL_ID } from "@lib/constants"; import { findByProps } from "@metro/filters"; import { ReactNative as RN, channels, url } from "@metro/common"; +import { PROXY_PREFIX, THEMES_CHANNEL_ID } from "@lib/constants"; import { after, instead } from "@lib/patcher"; import { installPlugin } from "@lib/plugins"; import { installTheme } from "@lib/themes"; +import { showConfirmationAlert } from "@ui/alerts"; import { getAssetIDByName } from "@ui/assets"; import { showToast } from "@ui/toasts"; -import { showConfirmationAlert } from "../alerts"; const showSimpleActionSheet = findByProps("showSimpleActionSheet"); const handleClick = findByProps("handleClick"); @@ -60,7 +60,7 @@ export default () => { showConfirmationAlert({ title: "Hold Up", - content: [`This link is a `, {urlType}, `, would you like to install it?`], + content: ["This link is a ", {urlType}, ", would you like to install it?"], onConfirm: () => installWithToast(urlType, url), confirmText: "Install", cancelText: "Cancel",