Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/screens/listSwipe/basic-list-swipe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from "react";
import { Platform } from "react-native";
import {
Container,
Header,
Expand All @@ -25,7 +26,7 @@ class BasicListSwipe extends Component {
<Icon name="arrow-back" />
</Button>
</Left>
<Body style={{ flex: 3 }}>
<Body style={{ flex: Platform.OS === 'ios' ? 3 : 1 }}>
<Title>Single SwipeRow</Title>
</Body>
<Right />
Expand Down
4 changes: 2 additions & 2 deletions src/screens/listSwipe/multi-list-swipe.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import { ListView } from "react-native";
import { Platform, ListView } from "react-native";
import {
Container,
Header,
Expand Down Expand Up @@ -51,7 +51,7 @@ class MultiListSwipe extends Component {
<Icon name="arrow-back" />
</Button>
</Left>
<Body style={{ flex: 3 }}>
<Body style={{ flex: Platform.OS === 'ios' ? 3 : 1 }} >
<Title>Multiple List Swipe</Title>
</Body>
<Right />
Expand Down
3 changes: 2 additions & 1 deletion src/screens/listSwipe/swipe-row-style.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from "react";
import { Platform } from "react-native";
import {
Container,
Header,
Expand All @@ -25,7 +26,7 @@ class SwipeRowCustomStyle extends Component {
<Icon name="arrow-back" />
</Button>
</Left>
<Body style={{ flex: 3 }}>
<Body style={{ flex: Platform.OS === 'ios' ? 3 : 1 }}>
<Title>Swipe Row Custom Style</Title>
</Body>
<Right />
Expand Down