瀏覽代碼

Smaller Paginated dots for Trending Section

Savio Fernando 1 年之前
父節點
當前提交
7d6fb0da2c
共有 1 個文件被更改,包括 1 次插入15 次删除
  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}
             />
           );
         })}