Skip to content

Commit

Permalink
Update settings.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
W4ddl3 authored May 19, 2024
1 parent b6045e2 commit f7aa56b
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions app/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -703,31 +703,6 @@ export function Settings() {
</Popover>
</ListItem>

<ListItem
title={Locale.Settings.Update.Version(currentVersion ?? "unknown")}
subTitle={
checkingUpdate
? Locale.Settings.Update.IsChecking
: hasNewVersion
? Locale.Settings.Update.FoundUpdate(remoteId ?? "ERROR")
: Locale.Settings.Update.IsLatest
}
>
{checkingUpdate ? (
<LoadingIcon />
) : hasNewVersion ? (
<Link href={updateUrl} target="_blank" className="link">
{Locale.Settings.Update.GoToUpdate}
</Link>
) : (
<IconButton
icon={<ResetIcon></ResetIcon>}
text={Locale.Settings.Update.CheckUpdate}
onClick={() => checkUpdate(true)}
/>
)}
</ListItem>

<ListItem title={Locale.Settings.SendKey}>
<Select
value={config.submitKey}
Expand Down

0 comments on commit f7aa56b

Please sign in to comment.