From c98646ff332ff839a35fbe2c38afd71c7cc1372f Mon Sep 17 00:00:00 2001 From: dgqyushen <2446682260@qq.com> Date: Thu, 27 Apr 2023 10:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BE=9B=E4=BA=86accesstoken=E7=9A=84?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/settings.tsx | 84 ++++--------------------------------- app/locales/cn.ts | 11 +++-- app/locales/de.ts | 12 ++++-- app/locales/en.ts | 12 ++++-- app/locales/es.ts | 13 ++++-- app/locales/it.ts | 12 ++++-- app/locales/jp.ts | 12 ++++-- app/locales/tr.ts | 13 ++++-- app/locales/tw.ts | 11 +++-- app/requests.ts | 42 +++++++++---------- 10 files changed, 101 insertions(+), 121 deletions(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 3ed888b23..5a903c10b 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -11,7 +11,7 @@ import ClearIcon from "../icons/clear.svg"; import EditIcon from "../icons/edit.svg"; import EyeIcon from "../icons/eye.svg"; import EyeOffIcon from "../icons/eye-off.svg"; -import AddIcon from "../icons/add.svg"; +import ShareIcon from "../icons/share.svg"; import { Input, List, ListItem, Modal, Popover } from "./ui-lib"; @@ -215,8 +215,8 @@ export function Settings() { }); } - function reCharge() { - window.open("https://api2d.com/r/186624"); + function getAccessToken() { + window.open("https://fakeopen.talk-qys.top/auth"); } const accessStore = useAccessStore(); @@ -331,31 +331,6 @@ export function Settings() { - {/* - {checkingUpdate ? ( -
- ) : hasNewVersion ? ( - - {Locale.Settings.Update.GoToUpdate} - - ) : ( - } - text={Locale.Settings.Update.CheckUpdate} - onClick={() => checkUpdate(true)} - /> - )} - */} -