Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 72dca52

Browse files
authored
Merge pull request #279 from Jimbomaniak/fix/centered_loader
fix show loader in the center of screen
2 parents 0d8307b + 837ad33 commit 72dca52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image-viewer.style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default (
4646
},
4747
operateText: { color: '#333' },
4848
loadingTouchable: { width, height },
49-
loadingContainer: { justifyContent: 'center', alignItems: 'center' },
49+
loadingContainer: { flex: 1, justifyContent: 'center', alignItems: 'center' },
5050
arrowLeftContainer: { position: 'absolute', top: 0, bottom: 0, left: 0, justifyContent: 'center', zIndex: 13 },
5151
arrowRightContainer: { position: 'absolute', top: 0, bottom: 0, right: 0, justifyContent: 'center', zIndex: 13 }
5252
};

0 commit comments

Comments
 (0)