From ab321ed32acd82d10c0e65926e5309105a091dad Mon Sep 17 00:00:00 2001 From: Syed Aoun Abbas Naqvi <75715090+AounNaqvi173@users.noreply.github.com> Date: Mon, 12 Feb 2024 10:29:57 -0800 Subject: [PATCH] Fix: modalTitleStyle overwritten by textStyle --- src/components/Picker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Picker.js b/src/components/Picker.js index eb3bed6..0d8669c 100644 --- a/src/components/Picker.js +++ b/src/components/Picker.js @@ -1737,8 +1737,8 @@ function Picker({ const _modalTitleStyle = useMemo( () => [ THEME.modalTitle, + ...[textStyle].flat(), ...[modalTitleStyle].flat(), - ...[textStyle].flat(), ], [textStyle, modalTitleStyle, THEME], );