ellipsizemode crash fix

This commit is contained in:
feruz 2019-12-17 04:26:06 +02:00
parent 455727dc4a
commit 3e4c323e61
4 changed files with 10 additions and 3 deletions

View File

@ -34,7 +34,8 @@ target 'eSteem' do
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
target 'eSteemTests' do
inherit! :search_paths
# Pods for testing

View File

@ -285,6 +285,8 @@ PODS:
- ReactCommon/jscallinvoker (= 0.61.2)
- ReactNativeDarkMode (0.1.2):
- React
- rn-fetch-blob (0.11.2):
- React-Core
- RNGestureHandler (1.4.1):
- React
- RNIap (3.4.15):
@ -351,6 +353,7 @@ DEPENDENCIES:
- ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- ReactNativeDarkMode (from `../node_modules/react-native-dark-mode`)
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNIap (from `../node_modules/react-native-iap`)
- RNImageCropPicker (from `../node_modules/react-native-image-crop-picker`)
@ -450,6 +453,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon"
ReactNativeDarkMode:
:path: "../node_modules/react-native-dark-mode"
rn-fetch-blob:
:path: "../node_modules/rn-fetch-blob"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
RNIap:
@ -511,6 +516,7 @@ SPEC CHECKSUMS:
React-RCTVibration: fb54c732fd20405a76598e431aa2f8c2bf527de9
ReactCommon: 5848032ed2f274fcb40f6b9ec24067787c42d479
ReactNativeDarkMode: 315535c6f7a066bc4e8ba60591a63aafa16d5dca
rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
RNGestureHandler: 4cb47a93019c1a201df2644413a0a1569a51c8aa
RNIap: b4c77c8bc4501203f4b743126a05da23f10f40b4
RNImageCropPicker: bfb3ea9c8622f290532e2fe63f369e0d5a52f597
@ -521,6 +527,6 @@ SPEC CHECKSUMS:
SDWebImage: c10d14a8883ebd89664f02a422006f66a85c0c5d
Yoga: 14927e37bd25376d216b150ab2a561773d57911f
PODFILE CHECKSUM: 4faf3202c73803d0ba69b4aaf79ce8642ecf11b2
PODFILE CHECKSUM: d4edbb9c1c57c5484f4893520a7865260cb898d3
COCOAPODS: 1.8.4

View File

@ -66,7 +66,7 @@ const NotificationLineView = ({ notification, handleOnPressNotification }) => {
<View style={styles.titleWrapper}>
<Text style={styles.name}>{notification.source} </Text>
<Text style={styles.title}>{_title} </Text>
<Text style={styles.moreinfo} numberOfLines={1} ellipsizeMode={4}>
<Text style={styles.moreinfo} numberOfLines={1} ellipsizeMode="tail">
{_moreinfo}
</Text>
</View>