@amityco/react-native-social-uikit 4.0.0-1fa7ca8.0 → 4.0.0-4221f0d.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -247,7 +247,7 @@ const AmityPostComposerPage = ({
|
|
|
247
247
|
}, [navigation, AmityPostComposerPageBehavior]);
|
|
248
248
|
const onClose = (0, _react.useCallback)(() => {
|
|
249
249
|
_reactNative.Alert.alert('Discard this post', 'The post will be permanently deleted. It cannot be undone', [{
|
|
250
|
-
text: '
|
|
250
|
+
text: 'Keep Editing',
|
|
251
251
|
style: 'cancel'
|
|
252
252
|
}, {
|
|
253
253
|
text: 'Discard',
|
|
@@ -241,7 +241,7 @@ const AmityPostComposerPage = ({
|
|
|
241
241
|
}, [navigation, AmityPostComposerPageBehavior]);
|
|
242
242
|
const onClose = useCallback(() => {
|
|
243
243
|
Alert.alert('Discard this post', 'The post will be permanently deleted. It cannot be undone', [{
|
|
244
|
-
text: '
|
|
244
|
+
text: 'Keep Editing',
|
|
245
245
|
style: 'cancel'
|
|
246
246
|
}, {
|
|
247
247
|
text: 'Discard',
|
package/package.json
CHANGED
|
@@ -301,7 +301,7 @@ const AmityPostComposerPage: FC<AmityPostComposerPageType> = ({
|
|
|
301
301
|
'Discard this post',
|
|
302
302
|
'The post will be permanently deleted. It cannot be undone',
|
|
303
303
|
[
|
|
304
|
-
{ text: '
|
|
304
|
+
{ text: 'Keep Editing', style: 'cancel' },
|
|
305
305
|
{
|
|
306
306
|
text: 'Discard',
|
|
307
307
|
style: 'destructive',
|