Remove all native base dependencies.
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import _ from "lodash";
|
||||
import { Button, Spinner, Text as NBText, View } from "native-base";
|
||||
import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import {
|
||||
ActivityIndicator,
|
||||
FlatList,
|
||||
Image,
|
||||
SafeAreaView,
|
||||
StyleSheet,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
View,
|
||||
} from "react-native";
|
||||
import { Button } from "react-native-paper";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import {
|
||||
@@ -82,11 +84,11 @@ export function ScreenMediaCache({
|
||||
<SafeAreaView style={styles.container}>
|
||||
<View style={styles.actions}>
|
||||
<Button onPress={() => removeAllPhotos()}>
|
||||
<NBText>{t("mediacache.actions.deleteall")}</NBText>
|
||||
<Text>{t("mediacache.actions.deleteall")}</Text>
|
||||
</Button>
|
||||
<Button onPress={() => uploadAllphotos()}>
|
||||
<NBText>{t("mediacache.actions.uploadall")}</NBText>
|
||||
{uploadInProgress && <Spinner />}
|
||||
<Text>{t("mediacache.actions.uploadall")}</Text>
|
||||
{uploadInProgress && <ActivityIndicator />}
|
||||
</Button>
|
||||
</View>
|
||||
<FlatList
|
||||
|
||||
Reference in New Issue
Block a user