App no longer crashes if start deleting url while browsing (#1468)

This commit is contained in:
alwx 2017-07-18 20:06:50 +02:00 committed by Roman Volosovskyi
parent cdbabca9fe
commit 32b64dcdb9
3 changed files with 7 additions and 6 deletions

View File

@ -9,4 +9,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: b75d6ec95102ddea68ad1e171f7f8f974533bac7 PODFILE CHECKSUM: b75d6ec95102ddea68ad1e171f7f8f974533bac7
COCOAPODS: 1.1.1 COCOAPODS: 1.2.1

View File

@ -1597,7 +1597,7 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
49A69B853BD9751F84878340 /* [CP] Check Pods Manifest.lock */ = { 49A69B853BD9751F84878340 /* [CP] Check Pods Manifest.lock */ = {
@ -1612,7 +1612,7 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
967469AF8BA27D5CEC47B13C /* [CP] Copy Pods Resources */ = { 967469AF8BA27D5CEC47B13C /* [CP] Copy Pods Resources */ = {

View File

@ -87,9 +87,10 @@
:on-change (fn [e] :on-change (fn [e]
(let [native-event (.-nativeEvent e) (let [native-event (.-nativeEvent e)
text (.-text native-event) text (.-text native-event)
height (.. native-event -contentSize -height)] content-size (.. native-event -contentSize)]
(when-not single-line-input? (when (and (not single-line-input?)
(set-layout-height-fn height)) content-size)
(set-layout-height-fn (.-height content-size)))
(when (not= text @input-text) (when (not= text @input-text)
(dispatch [:set-chat-input-text text]) (dispatch [:set-chat-input-text text])
(when @command (when @command