[Themes > Background] Prevent bad blur property values
This commit is contained in:
parent
85d0bd263b
commit
fd741ded5d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue