downgrade React Native to 0.53.3
This commit is contained in:
parent
763b9f006e
commit
f74212d9cf
File diff suppressed because it is too large
Load Diff
|
@ -34,7 +34,7 @@
|
||||||
"re-natal": "0.8.1",
|
"re-natal": "0.8.1",
|
||||||
"react": "16.2.0",
|
"react": "16.2.0",
|
||||||
"react-dom": "16.2.0",
|
"react-dom": "16.2.0",
|
||||||
"react-native": "github:status-im/react-native#v0.55.4",
|
"react-native": "github:status-im/react-native#status-0.53.3",
|
||||||
"react-native-background-timer": "2.0.0",
|
"react-native-background-timer": "2.0.0",
|
||||||
"react-native-camera": "0.10.0",
|
"react-native-camera": "0.10.0",
|
||||||
"react-native-config": "0.9.0",
|
"react-native-config": "0.9.0",
|
||||||
|
|
|
@ -246,9 +246,9 @@ static UIColor *defaultPlaceholderColor()
|
||||||
|
|
||||||
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
|
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
|
||||||
{
|
{
|
||||||
if (_contextMenuHidden) {
|
/*if (_contextMenuHidden) {
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return [super canPerformAction:action withSender:sender];
|
return [super canPerformAction:action withSender:sender];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,14 +39,11 @@
|
||||||
:headers {"Cache-Control" "no-cache"}
|
:headers {"Cache-Control" "no-cache"}
|
||||||
:timeout (or timeout-ms http-request-default-timeout-ms)}))
|
:timeout (or timeout-ms http-request-default-timeout-ms)}))
|
||||||
(.then (fn [response]
|
(.then (fn [response]
|
||||||
(->
|
|
||||||
(.text response)
|
|
||||||
(.then (fn [response-body]
|
|
||||||
(let [ok? (.-ok response)
|
(let [ok? (.-ok response)
|
||||||
ok?' (if valid-response?
|
ok?' (if valid-response?
|
||||||
(and ok? (valid-response? response))
|
(and ok? (valid-response? response))
|
||||||
ok?)]
|
ok?)]
|
||||||
[response-body ok?']))))))
|
[(.-_bodyText response) ok?'])))
|
||||||
(.then (fn [[response ok?]]
|
(.then (fn [[response ok?]]
|
||||||
(cond
|
(cond
|
||||||
(and on-success ok?)
|
(and on-success ok?)
|
||||||
|
|
Loading…
Reference in New Issue