diff --git a/src/lib/ui/components/Codeblock.tsx b/src/lib/ui/components/Codeblock.tsx index fade249..7b37a9a 100644 --- a/src/lib/ui/components/Codeblock.tsx +++ b/src/lib/ui/components/Codeblock.tsx @@ -11,13 +11,13 @@ export interface CodeblockProps { const useStyles = createStyles({ codeBlock: { - fontFamily: constants.Fonts.CODE_SEMIBOLD, + fontFamily: constants.Fonts.CODE_NORMAL, fontSize: 12, textAlignVertical: "center", backgroundColor: semanticColors.BACKGROUND_SECONDARY, color: semanticColors.TEXT_NORMAL, borderWidth: 1, - borderRadius: 4, + borderRadius: 12, borderColor: semanticColors.BACKGROUND_TERTIARY, padding: 10, }, diff --git a/src/lib/ui/safeMode.tsx b/src/lib/ui/safeMode.tsx index 8f83657..7c7cb38 100644 --- a/src/lib/ui/safeMode.tsx +++ b/src/lib/ui/safeMode.tsx @@ -5,7 +5,7 @@ import { toggleSafeMode } from "@lib/debug"; import { settings } from "@lib/settings"; import { lazyDestructure } from "@lib/utils/lazy"; import { ButtonColors } from "@lib/utils/types"; -import { Button, SafeAreaView } from "@metro/common/components"; +import { Button, CompatButton, SafeAreaView } from "@metro/common/components"; import { findByNameProxy, findByProps } from "@metro/utils"; import { semanticColors } from "@ui/color"; import { Codeblock, ErrorBoundary as _ErrorBoundary } from "@ui/components"; @@ -117,12 +117,21 @@ export default () => after.proxy("render", [ErrorBoundary, r => r.prototype], fu {buttons.map(button => { const buttonIndex = buttons.indexOf(button) !== 0 ? 8 : 0; - return