Skip to content

Commit

Permalink
Group SettingsItem
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Apr 11, 2019
1 parent 6fd1304 commit e08e8de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/screens/SettingsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Alert, FlatList, ListRenderItem, SafeAreaView } from "react-native";
import MaterialCommunityIcons from "react-native-vector-icons/MaterialCommunityIcons";
import MaterialIcons from "react-native-vector-icons/MaterialIcons";
import { connect } from "react-redux";
import Divider from "../components/Divider";
import SettingsListItem from "../components/SettingsListItem";
import { clearStore } from "../redux/actions/root";
import { setAutoRefreshing } from "../redux/actions/settings";
Expand Down Expand Up @@ -90,7 +91,6 @@ const SettingsScreen: INavigationScreen<ISettingsScreenProps> = props => {
return (
<SettingsListItem
variant="arrow"
containerStyle={{ marginTop: 10 }}
icon={<MaterialIcons name="copyright" size={20} />}
text="关于"
onPress={onAboutPress}
Expand All @@ -111,6 +111,7 @@ const SettingsScreen: INavigationScreen<ISettingsScreenProps> = props => {
{ key: "about" }
]}
renderItem={renderListItem}
ItemSeparatorComponent={Divider}
/>
</SafeAreaView>
);
Expand Down

0 comments on commit e08e8de

Please sign in to comment.