From 3a666db699380880bb911603a013a13cead9d440 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 11 Sep 2025 14:18:16 +0300 Subject: [PATCH] add patch of https://github.com/bluesky-social/react-native-paste-input/pull/5 --- ...@mattermost+react-native-paste-input+0.8.1.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/@mattermost+react-native-paste-input+0.8.1.patch diff --git a/patches/@mattermost+react-native-paste-input+0.8.1.patch b/patches/@mattermost+react-native-paste-input+0.8.1.patch new file mode 100644 index 0000000000..c0a895715e --- /dev/null +++ b/patches/@mattermost+react-native-paste-input+0.8.1.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt b/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt +index 4ed2307..ede1181 100644 +--- a/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt ++++ b/node_modules/@mattermost/react-native-paste-input/android/src/main/java/com/mattermost/pasteinputtext/PasteTextInputManager.kt +@@ -54,7 +54,7 @@ class PasteTextInputManager(context: ReactApplicationContext) : ReactTextInputMa + } + + override fun getExportedCustomBubblingEventTypeConstants(): MutableMap { +- val map = super.getExportedCustomBubblingEventTypeConstants()!! ++ val map = super.getExportedCustomBubblingEventTypeConstants().toMutableMap() + map["onPaste"] = MapBuilder.of( + "phasedRegistrationNames", + MapBuilder.of("bubbled", "onPaste")