Skip to content

Commit

Permalink
[ui] Whoopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Apr 30, 2024
1 parent ec07b5b commit 6dc85aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/core/ui/settings/pages/About.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Strings } from "@core/i18n";
import Version from "@core/ui/components/Version";
import { getLoaderName, getLoaderVersion } from "@lib/api/native/loader";
import { useProxy } from "@lib/api/storage";
import { getDebugInfo } from "@lib/debug";
import { settings } from "@lib/settings";
Expand All @@ -14,7 +13,7 @@ export default function About() {
const versions = [
{
label: Strings.BUNNY,
version: `${getLoaderName()} (${getLoaderVersion()})`,
version: debugInfo.bunny.version,
icon: "ic_progress_wrench_24px",
},
{
Expand Down Expand Up @@ -42,7 +41,7 @@ export default function About() {
const platformInfo = [
{
label: Strings.LOADER,
version: debugInfo.bunny.loader.name,
version: `${debugInfo.bunny.loader.name} (${debugInfo.bunny.loader.version})`,
icon: "ic_download_24px",
},
{
Expand Down
3 changes: 1 addition & 2 deletions src/core/ui/settings/pages/General.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Strings } from "@core/i18n";
import { PyoncordIcon } from "@core/ui/settings";
import { getAssetIDByName } from "@lib/api/assets";
import { getLoaderName, getLoaderVersion } from "@lib/api/native/loader";
import { useProxy } from "@lib/api/storage";
import { getDebugInfo, toggleSafeMode } from "@lib/debug";
import { settings } from "@lib/settings";
Expand All @@ -25,7 +24,7 @@ export default function General() {
<TableRow
label={Strings.BUNNY}
icon={<TableRow.Icon source={{ uri: PyoncordIcon }} />}
trailing={<TableRow.TrailingText text={`${getLoaderName()} (${getLoaderVersion()})`} />}
trailing={<TableRow.TrailingText text={debugInfo.bunny.version} />}
/>
<TableRow
label={"Discord"}
Expand Down

0 comments on commit 6dc85aa

Please sign in to comment.