[FIX] UIKit crashing when UIKitModal receive update event (#2088)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
a937e6a6ac
commit
a6bca99393
|
@ -154,8 +154,8 @@ class ModalBlockView extends React.Component {
|
||||||
this.setState({ errors });
|
this.setState({ errors });
|
||||||
} else {
|
} else {
|
||||||
this.setState({ data });
|
this.setState({ data });
|
||||||
|
navigation.setParams({ data });
|
||||||
}
|
}
|
||||||
navigation.setParams({ data });
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cancel = async({ closeModal }) => {
|
cancel = async({ closeModal }) => {
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"@react-native-community/datetimepicker": "^2.1.0",
|
"@react-native-community/datetimepicker": "^2.1.0",
|
||||||
"@react-native-community/slider": "2.0.5",
|
"@react-native-community/slider": "2.0.5",
|
||||||
"@rocket.chat/sdk": "djorkaeffalexandre/Rocket.Chat.js.SDK#test.fix-ddp",
|
"@rocket.chat/sdk": "djorkaeffalexandre/Rocket.Chat.js.SDK#test.fix-ddp",
|
||||||
"@rocket.chat/ui-kit": "^0.2.0-alpha.25",
|
"@rocket.chat/ui-kit": "^0.8.0",
|
||||||
"base-64": "^0.1.0",
|
"base-64": "^0.1.0",
|
||||||
"bugsnag-react-native": "2.23.2",
|
"bugsnag-react-native": "2.23.2",
|
||||||
"commonmark": "git+https://github.com/RocketChat/commonmark.js.git",
|
"commonmark": "git+https://github.com/RocketChat/commonmark.js.git",
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -1925,10 +1925,10 @@
|
||||||
tiny-events "^1.0.1"
|
tiny-events "^1.0.1"
|
||||||
universal-websocket-client "^1.0.2"
|
universal-websocket-client "^1.0.2"
|
||||||
|
|
||||||
"@rocket.chat/ui-kit@^0.2.0-alpha.25":
|
"@rocket.chat/ui-kit@^0.8.0":
|
||||||
version "0.2.0-alpha.26"
|
version "0.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/@rocket.chat/ui-kit/-/ui-kit-0.2.0-alpha.26.tgz#139e337bc8e751ecd5e61e7a07e563792c37d002"
|
resolved "https://registry.yarnpkg.com/@rocket.chat/ui-kit/-/ui-kit-0.8.0.tgz#84d1614c0f3c7749511bfbd555c1592485d262b3"
|
||||||
integrity sha512-UBsuntc/W/s545WJGUZlG2TyrrCI59REhRWcgIR/Ueb3qkh/DuhdtK6zjVH1y0M+tLlkrIgtEAsoatj55nkWVA==
|
integrity sha512-JNpwGcVQfBHjfG/sLJmMwau0BNvUWx210UAji4MnARAvfxBUslUYWzTRDkvxryKX0223dbTC91HOMt1HZDNNLQ==
|
||||||
|
|
||||||
"@snyk/composer-lockfile-parser@1.0.3":
|
"@snyk/composer-lockfile-parser@1.0.3":
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
|
@ -10077,7 +10077,7 @@ react-native-scrollable-tab-view@^1.0.0:
|
||||||
prop-types "^15.6.0"
|
prop-types "^15.6.0"
|
||||||
react-timer-mixin "^0.13.3"
|
react-timer-mixin "^0.13.3"
|
||||||
|
|
||||||
react-native-slowlog@1.0.2:
|
react-native-slowlog@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-slowlog/-/react-native-slowlog-1.0.2.tgz#5520979e3ef9d5273495d431ff3be34f02e35c89"
|
resolved "https://registry.yarnpkg.com/react-native-slowlog/-/react-native-slowlog-1.0.2.tgz#5520979e3ef9d5273495d431ff3be34f02e35c89"
|
||||||
integrity sha1-VSCXnj751Sc0ldQx/zvjTwLjXIk=
|
integrity sha1-VSCXnj751Sc0ldQx/zvjTwLjXIk=
|
||||||
|
|
Loading…
Reference in New Issue