|
@@ -21,7 +21,11 @@ import {
|
|
getRecommendationByArticleID,
|
|
getRecommendationByArticleID,
|
|
} from '../../api/data';
|
|
} from '../../api/data';
|
|
import LoadingScreen from '../../components/organisms/Sections/LoadingScreen';
|
|
import LoadingScreen from '../../components/organisms/Sections/LoadingScreen';
|
|
-import {getTimestamp, navigateToArticle, useConstructor} from '../../constants/functions';
|
|
|
|
|
|
+import {
|
|
|
|
+ getTimestamp,
|
|
|
|
+ navigateToArticle,
|
|
|
|
+ useConstructor,
|
|
|
|
+} from '../../constants/functions';
|
|
import fonts from '../../constants/fonts';
|
|
import fonts from '../../constants/fonts';
|
|
import BookmarkButton from '../../components/atoms/Buttons/BookmarkButton';
|
|
import BookmarkButton from '../../components/atoms/Buttons/BookmarkButton';
|
|
import ShareButton from '../../components/atoms/Buttons/ShareButton';
|
|
import ShareButton from '../../components/atoms/Buttons/ShareButton';
|
|
@@ -260,15 +264,25 @@ const NewsDetailPage = props => {
|
|
ref={bottomSheetModalRef}
|
|
ref={bottomSheetModalRef}
|
|
index={1}
|
|
index={1}
|
|
snapPoints={snapPoints}
|
|
snapPoints={snapPoints}
|
|
- onChange={handleSheetChanges}>
|
|
|
|
|
|
+ onChange={handleSheetChanges}
|
|
|
|
+ backgroundStyle={{
|
|
|
|
+ backgroundColor: colors().dominant,
|
|
|
|
+ minHeight: '100%',
|
|
|
|
+ }}
|
|
|
|
+ handleStyle={{
|
|
|
|
+ backgroundColor: colors().dominant_variant,
|
|
|
|
+
|
|
|
|
+ }}>
|
|
<BottomSheetScrollView>
|
|
<BottomSheetScrollView>
|
|
<BottomSheetView
|
|
<BottomSheetView
|
|
- style={{paddingHorizontal: horizontalScale(24)}}>
|
|
|
|
|
|
+ style={{
|
|
|
|
+ paddingHorizontal: horizontalScale(24),
|
|
|
|
+ }}>
|
|
<BottomSheetView style={styles.commentInputContainer}>
|
|
<BottomSheetView style={styles.commentInputContainer}>
|
|
<Text
|
|
<Text
|
|
style={{
|
|
style={{
|
|
fontFamily: fonts.type.semibold,
|
|
fontFamily: fonts.type.semibold,
|
|
- color: colors.black,
|
|
|
|
|
|
+ color: colors().recessive,
|
|
fontSize: moderateScale(16),
|
|
fontSize: moderateScale(16),
|
|
}}>
|
|
}}>
|
|
Comments
|
|
Comments
|
|
@@ -322,7 +336,6 @@ const NewsDetailPage = props => {
|
|
image={{uri: item.cover_image}}
|
|
image={{uri: item.cover_image}}
|
|
headline={item.title}
|
|
headline={item.title}
|
|
onPress={() => navigateToArticle(navigation, item.id, item.slug)}
|
|
onPress={() => navigateToArticle(navigation, item.id, item.slug)}
|
|
-
|
|
|
|
/>
|
|
/>
|
|
))}
|
|
))}
|
|
</ScrollView>
|
|
</ScrollView>
|