Skip to content

Commit 386a7c0

Browse files
committed
fix: Remove flex: 1 for ListView on example and set up light theme as default again.
1 parent d4f1149 commit 386a7c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/DrawerItems.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DrawerItems extends Component {
3030
state = {
3131
open: false,
3232
drawerItemIndex: 0,
33-
isDark: true,
33+
isDark: false,
3434
};
3535

3636
_setDrawerItem = index => this.setState({ drawerItemIndex: index });

example/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const App = DrawerNavigator(
2525

2626
class PaperExample extends Component {
2727
state = {
28-
theme: DarkTheme,
28+
theme: DefaultTheme,
2929
};
3030

3131
_toggleTheme = () =>

example/src/ExampleList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ExampleList extends Component {
6565
const { theme: { colors: { background } } } = this.props;
6666
return (
6767
<ListView
68-
contentContainerStyle={{ flex: 1, backgroundColor: background }}
68+
contentContainerStyle={{ backgroundColor: background }}
6969
dataSource={dataSource}
7070
renderRow={this._renderRow}
7171
renderSeparator={this._renderSeparator}

0 commit comments

Comments
 (0)