diff --git a/src/assets/icons/codeberg-logo_icon_white.png b/src/assets/icons/codeberg-logo_icon_white.png new file mode 100644 index 0000000..873d3c7 Binary files /dev/null and b/src/assets/icons/codeberg-logo_icon_white.png differ diff --git a/src/assets/icons/revenge.png b/src/assets/icons/revenge.png deleted file mode 100644 index f9032bf..0000000 Binary files a/src/assets/icons/revenge.png and /dev/null differ diff --git a/src/core/i18n/default.json b/src/core/i18n/default.json index 33ea5fb..af4fbb0 100644 --- a/src/core/i18n/default.json +++ b/src/core/i18n/default.json @@ -16,6 +16,7 @@ "CLEAR_DATA": "Clear data", "CLEAR_DATA_FAILED": "Failed to clear data for {name}", "CLEAR_DATA_SUCCESSFUL": "Cleared data for {name}", + "CODEBERG": "Codeberg", "CODENAME": "Codename", "COMMAND_DEBUG_DESC": "Send Kettu debug info.", "COMMAND_DEBUG_OPT_EPHEMERALLY": "Send debug info ephemerally.", @@ -113,7 +114,7 @@ "UH_OH": "Uh Oh", "UNINSTALL": "Uninstall", "UNINSTALL_TITLE": "Uninstall {title}", - "URL_PLACEHOLDER": "https://github.com/C0C0B01/Kettu", + "URL_PLACEHOLDER": "https://codeberg.org/cocobo1/Kettu", "VERSION": "Version", "VERSIONS": "Versions" } \ No newline at end of file diff --git a/src/core/ui/settings/pages/General/index.tsx b/src/core/ui/settings/pages/General/index.tsx index cf9558b..6afedf8 100644 --- a/src/core/ui/settings/pages/General/index.tsx +++ b/src/core/ui/settings/pages/General/index.tsx @@ -12,6 +12,7 @@ import { DISCORD_SERVER, GITHUB } from "@lib/utils/constants"; import { NavigationNative } from "@metro/common"; import { AlertActionButton, AlertActions, AlertModal, Stack, TableRow, TableRowGroup, TableSwitchRow } from "@metro/common/components"; import { Linking, ScrollView } from "react-native"; +import CodebergIcon from "@assets/icons/codeberg-logo_icon_white.png"; export default function General() { useProxy(settings); @@ -50,6 +51,12 @@ export default function General() { icon={} onPress={() => Linking.openURL(DISCORD_SERVER)} /> + } + onPress={() => Linking.openURL(CODEBERG)} + />