Skip to content

Commit

Permalink
fix: update icon and stop using legacy text
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmDevs committed Sep 14, 2024
1 parent ee87307 commit 590f7e1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file removed src/assets/icons/pyoncord.png
Binary file not shown.
Binary file added src/assets/icons/revenge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/core/ui/settings/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import PyoncordIcon from "@assets/icons/pyoncord.png";
import PyoncordIcon from "@assets/icons/revenge.png";
import { Strings } from "@core/i18n";
import BunnySettings from "@core/storage/BunnySettings";
import { findAssetId } from "@lib/api/assets";
Expand Down
4 changes: 2 additions & 2 deletions src/core/ui/settings/pages/General/Version.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findAssetId } from "@lib/api/assets";
import { clipboard } from "@metro/common";
import { LegacyFormText, TableRow } from "@metro/common/components";
import { TableRow } from "@metro/common/components";
import { showToast } from "@ui/toasts";

interface VersionProps {
Expand All @@ -14,7 +14,7 @@ export default function Version({ label, version, icon }: VersionProps) {
<TableRow
label={label}
icon={<TableRow.Icon source={findAssetId(icon)} />}
trailing={<LegacyFormText>{version}</LegacyFormText>}
trailing={version}
onPress={() => {
clipboard.setString(`${label} - ${version}`);
showToast.showCopyToClipboard();
Expand Down

0 comments on commit 590f7e1

Please sign in to comment.