Minor UI improvements.
This commit is contained in:
@@ -5,6 +5,7 @@ import React, { useCallback, useEffect, useState } from "react";
|
||||
import { FlatList, RefreshControl, TouchableOpacity, View } from "react-native";
|
||||
import ImageView from "react-native-image-viewing";
|
||||
import { ActivityIndicator, Text } from "react-native-paper";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import env from "../../env";
|
||||
@@ -149,13 +150,15 @@ export function JobDocumentsComponent({ bodyshop }) {
|
||||
)}
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
onRequestClose={() => setPreviewVisible(false)}
|
||||
visible={previewVisible}
|
||||
images={fullphotos}
|
||||
imageIndex={imgIndex}
|
||||
swipeToCloseEnabled={true}
|
||||
/>
|
||||
<SafeAreaView>
|
||||
<ImageView
|
||||
onRequestClose={() => setPreviewVisible(false)}
|
||||
visible={previewVisible}
|
||||
images={fullphotos}
|
||||
imageIndex={imgIndex}
|
||||
swipeToCloseEnabled={true}
|
||||
/>
|
||||
</SafeAreaView>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user