Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarsheechatterjee committed Mar 20, 2021
1 parent 20ad556 commit 404f593
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 32 deletions.
2 changes: 1 addition & 1 deletion src/components/common/Appbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const SearchAppbar = ({
const styles = StyleSheet.create({
searchAppbarContainer: {
marginTop: Constants.statusBarHeight + 4,
height: 50,
height: 48,
flexDirection: "row",
alignItems: "center",
paddingHorizontal: 16,
Expand Down
49 changes: 26 additions & 23 deletions src/navigation/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
TransitionPresets,
} from "@react-navigation/stack";
import { createMaterialBottomTabNavigator } from "@react-navigation/material-bottom-tabs";
import { Provider } from "react-native-paper";

import MaterialCommunityIcons from "react-native-vector-icons/MaterialCommunityIcons";

Expand Down Expand Up @@ -139,29 +140,31 @@ const BottomNavigator = () => {

const Router = () => {
return (
<Stack.Navigator screenOptions={stackNavigatorConfig}>
<Stack.Screen name="Router" component={BottomNavigator} />
<Stack.Screen
name="ChapterItem"
component={ChapterItem}
options={{ ...TransitionPresets.SlideFromRightIOS }}
/>
<Stack.Screen
name="NovelItem"
component={NovelItem}
options={{
headerTitle: "",
headerShown: true,
headerTransparent: true,
headerTintColor: "white",
}}
/>
<Stack.Screen name="BoxNovelStack" component={BoxNovelStack} />
<Stack.Screen
name="ReadLightNovelStack"
component={ReadLightNovelStack}
/>
</Stack.Navigator>
<Provider>
<Stack.Navigator screenOptions={stackNavigatorConfig}>
<Stack.Screen name="Router" component={BottomNavigator} />
<Stack.Screen
name="ChapterItem"
component={ChapterItem}
options={{ ...TransitionPresets.SlideFromRightIOS }}
/>
<Stack.Screen
name="NovelItem"
component={NovelItem}
options={{
headerTitle: "",
headerShown: true,
headerTransparent: true,
headerTintColor: "white",
}}
/>
<Stack.Screen name="BoxNovelStack" component={BoxNovelStack} />
<Stack.Screen
name="ReadLightNovelStack"
component={ReadLightNovelStack}
/>
</Stack.Navigator>
</Provider>
);
};

Expand Down
4 changes: 2 additions & 2 deletions src/screens/More/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const AboutScreen = ({ navigation }) => {
titleStyle={{ color: theme.textColorPrimary }}
title="Version"
descriptionStyle={{ color: theme.textColorSecondary }}
description="Stable 1.0.1"
description="Stable 1.0.3"
/>
<List.Item
titleStyle={{ color: theme.textColorPrimary }}
title="Build Time"
descriptionStyle={{ color: theme.textColorSecondary }}
description="15-03-21 10:30 AM"
description="20-03-21 14:12 PM"
/>

<List.Item
Expand Down
9 changes: 4 additions & 5 deletions src/screens/More/Settings.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from "react";
import { View, Text } from "react-native";
import { View } from "react-native";
import { setStatusBarStyle } from "expo-status-bar";
import { List, Modal, Provider, Portal } from "react-native-paper";
import { List, Modal, Portal } from "react-native-paper";

import { connect } from "react-redux";
import { switchTheme } from "../../redux/actions/theme";
Expand Down Expand Up @@ -60,7 +60,7 @@ const SettingsScreen = ({
const hidethemeModal = () => setthemeModalVisible(false);

return (
<Provider>
<>
<Appbar title="Settings" onBackAction={() => navigation.goBack()} />
<View style={{ flex: 1, backgroundColor: theme.colorPrimaryDark }}>
<List.Section
Expand Down Expand Up @@ -178,7 +178,6 @@ const SettingsScreen = ({
>
{themes.map((item) => (
<ThemeCheckbox
key={item.key}
label={themes[item.themeCode].label}
checked={
themeCode === item.themeCode
Expand All @@ -195,7 +194,7 @@ const SettingsScreen = ({
</Portal>
</List.Section>
</View>
</Provider>
</>
);
};

Expand Down
2 changes: 1 addition & 1 deletion src/theme/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ export const midnightDuskTheme = {
textColorSecondary: "rgba(255,255,255,0.7)",
textColorHintDark: "rgba(255,255,255,0.5)",
rippleColor: "rgba(255,255,255,0.2)",
searchBarColor: "#1F1F1F",
searchBarColor: "#201F27",
};

0 comments on commit 404f593

Please sign in to comment.