Skip to content

Commit

Permalink
Merge pull request #557 from Peersyst/fix/news-screen-padding
Browse files Browse the repository at this point in the history
fix: news screen padding
  • Loading branch information
AgustinMJ authored Nov 8, 2024
2 parents 081751f + 05fd82b commit ea65c26
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ This document logs notable, developer-facing updates to the NEAR Mobile Wallet.

### 🐛 Bug Fixes

- Fix website not reactive if comming from swap url [fix/news-screen-padding](https://github.com/Peersyst/near-mobile-wallet/pull/557)
- Fix website not reactive if comming from swap url [fix/web-view-not-reacting](https://github.com/Peersyst/near-mobile-wallet/pull/556)
- Fix IOs WebView not ocuppying full height [refactor/base-page-padding](https://github.com/Peersyst/near-mobile-wallet/pull/555)
- Fix ref finance web infinite loop loading [fix/loop-in-ref-finance-web-view](https://github.com/Peersyst/near-mobile-wallet/pull/552)
Expand Down
2 changes: 0 additions & 2 deletions src/module/news/screen/NewsScreen.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { View } from "react-native";
import { List } from "@peersyst/react-native-components";

export const NewsList = styled(List)(({ theme }) => ({
paddingHorizontal: 20,
paddingTop: "5%",
backgroundColor: theme.palette.gray[100],
})) as typeof List;

Expand Down
1 change: 1 addition & 0 deletions src/module/news/screen/NewsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const NewsScreen = (): JSX.Element => {
renderItem={({ item, index }) => {
return <AnimatedSimpleNewsCard loading={isLoading} in {...item} key={index} />;
}}
contentContainerStyle={{ paddingHorizontal: 20, paddingTop: "5%" }}
refreshControlProps={{ tintColor: "black" }}
onRefresh={refetch}
keyExtractor={(_, index) => index.toString()}
Expand Down

0 comments on commit ea65c26

Please sign in to comment.