From 2c10d03daf7076980ac5a0cc59407ad9a464d52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayhan=20D=C3=B6=C5=9Fl=C3=BC?= <30693688+ayhandoslu@users.noreply.github.com> Date: Mon, 15 Mar 2021 01:01:52 +0300 Subject: [PATCH] Update image-viewer.style.ts modalContainer backgroundColor is redundant, because if backgroundColor with alpha (rgba) and loadingRender is assigned together, backgroundColor duplicates and applies alpha (rgba) over alpha (rgba) --- src/image-viewer.style.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image-viewer.style.ts b/src/image-viewer.style.ts index 0b9272bd..5c88f8e0 100644 --- a/src/image-viewer.style.ts +++ b/src/image-viewer.style.ts @@ -8,7 +8,7 @@ export default ( [x: string]: ViewStyle | TextStyle; } => { return { - modalContainer: { backgroundColor, justifyContent: 'center', alignItems: 'center', overflow: 'hidden' }, + modalContainer: { backgroundColor: 'transparent', justifyContent: 'center', alignItems: 'center', overflow: 'hidden' }, watchOrigin: { position: 'absolute', width, bottom: 20, justifyContent: 'center', alignItems: 'center' }, watchOriginTouchable: { paddingLeft: 10,