Skip to content

Commit 6e779d6

Browse files
committed
Screen Capture protection
1 parent 3937e07 commit 6e779d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

example/src/DemoApp.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
ScrollView,
99
Image,
1010
TouchableOpacity,
11-
Button,
1211
StyleSheet,
12+
Platform,
1313
} from 'react-native';
1414
import { Colors } from './styles';
1515
import { MalwareModal } from './MalwareModal';
@@ -161,12 +161,18 @@ export const DemoApp: React.FC<{
161161
};
162162

163163
const styles = StyleSheet.create({
164+
text: {
165+
fontSize: 16,
166+
fontWeight: '500',
167+
alignSelf: 'center',
168+
textAlign: 'center',
169+
},
164170
button: {
165171
justifyContent: 'center',
166172
alignItems: 'center',
167173
width: 180,
168174
height: 50,
169-
backgroundColor: Colors.lightBlue,
175+
backgroundColor: Colors.checkOkLight,
170176
borderRadius: 10,
171177
padding: 2,
172178
marginTop: 20,

0 commit comments

Comments
 (0)