diff --git a/src/lib/themes.ts b/src/lib/themes.ts index daa679d..1776ccb 100644 --- a/src/lib/themes.ts +++ b/src/lib/themes.ts @@ -29,7 +29,7 @@ export function patchChatBackground() { return after("default", MessagesWrapperConnected, (_, ret) => React.createElement(RN.ImageBackground, { style: { flex: 1, height: "100%" }, source: { uri: currentBackground.url }, - blurRadius: currentBackground.blur, + blurRadius: typeof currentBackground.blur === "number" ? currentBackground.blur : 0, children: ret, })); }