mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix all buttons
This commit is contained in:
@@ -3,11 +3,11 @@ import {
|
||||
ActivityIndicator,
|
||||
StyleSheet,
|
||||
Text,
|
||||
View,
|
||||
TouchableOpacity,
|
||||
View
|
||||
} from 'react-native';
|
||||
import {SIZE, pv, ph, WEIGHT, opacity} from '../../common/common';
|
||||
import {useTracked} from '../../provider';
|
||||
import { ph, pv, SIZE, WEIGHT } from '../../common/common';
|
||||
import { useTracked } from '../../provider';
|
||||
import { Button } from '../Button';
|
||||
|
||||
export const Loading = ({
|
||||
height = 150,
|
||||
@@ -31,18 +31,10 @@ export const Loading = ({
|
||||
]}>
|
||||
{doneText}
|
||||
</Text>
|
||||
<TouchableOpacity
|
||||
activeOpacity={opacity}
|
||||
<Button
|
||||
onPress={onDone}
|
||||
style={[
|
||||
styles.button,
|
||||
{
|
||||
borderColor: colors.accent,
|
||||
backgroundColor: colors.accent,
|
||||
},
|
||||
]}>
|
||||
<Text style={styles.buttonText}>Close</Text>
|
||||
</TouchableOpacity>
|
||||
title="Done"
|
||||
/>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user