Skip to content

Commit 6848c5c

Browse files
feat: add alert for caution when toggling view in ComicBookFooter
1 parent 47f86a5 commit 6848c5c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Components/UIComp/ComicBookFooter.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import {View, Text, TouchableOpacity, Image} from 'react-native';
2+
import {View, Text, TouchableOpacity, Image, Alert} from 'react-native';
33
import {useSelector} from 'react-redux';
44
import Ionicons from 'react-native-vector-icons/Ionicons';
55
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
@@ -42,6 +42,9 @@ const ComicBookFooter = ({
4242
}}>
4343
<TouchableOpacity
4444
onPress={() => {
45+
alert(
46+
'This feature may cause the app to crash. Please use with caution.',
47+
);
4548
setViewAll(!ViewAll);
4649
}}>
4750
<Ionicons

0 commit comments

Comments
 (0)