@gyjshow/react-native-image-viewing 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,6 +67,9 @@ function ImageViewing({ images, keyExtractor, imageIndex, visible, onRequestClos
67
67
  const styles = StyleSheet.create({
68
68
  container: {
69
69
  flex: 1,
70
+ width: SCREEN_WIDTH,
71
+ justifyContent: "center",
72
+ alignItems: "center",
70
73
  backgroundColor: "#000",
71
74
  },
72
75
  header: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gyjshow/react-native-image-viewing",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "\"Enhanced image viewing component for React Native (Fork of react-native-image-viewing)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",