Pārlūkot izejas kodu

Smaller Paginated dots for Trending Section

Savio Fernando 1 gadu atpakaļ
vecāks
revīzija
7d6fb0da2c
1 mainītis faili ar 1 papildinājumiem un 15 dzēšanām
  1. 1 15
      src/components/organisms/Sections/TrendingSection.js

+ 1 - 15
src/components/organisms/Sections/TrendingSection.js

@@ -17,19 +17,6 @@ import { getTrendingNews } from '../../../api/data';
 import LoadingScreen from './LoadingScreen';
 
 
-
-// import {Q} from '@nozbe/watermelondb';
-// import withObservables from '@nozbe/with-observables';
-
-
-/*
-   Enhanced News Card
-*/
-
-// const EnhancedImageBGCard = withObservables(['recent_news'], ({news}) => ({
-//   news: news.observe(),
-// }))(ImageBGCard);
-
 const TrendingSection = props => {
 
   const ITEM_WIDTH = Math.round(screenWidth * 1);
@@ -102,7 +89,6 @@ const TrendingSection = props => {
 
   return (
     <View>
-      {/* <SectionHeader label={"Recent News"} /> */}
       <SectionHeader label={'Trending'} onPress={() => navigateToListViewPage(navigation,"normal","Trending")}/>
       <View style={styles.recentCardContainer}>
         {isLoading === true ? (
@@ -146,7 +132,7 @@ const TrendingSection = props => {
                   ? colors().secondaryColor
                   : colors().white_variant
               }
-              size={12}
+              size={8}
             />
           );
         })}