Skip to content

Commit

Permalink
Release v1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarsheechatterjee committed Oct 27, 2021
1 parent 911d25b commit e514876
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 42 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.1.5"
versionName "1.1.6"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@
},
"private": true,
"name": "lnreader",
"version": "1.1.5"
"version": "1.1.6"
}
2 changes: 1 addition & 1 deletion src/hooks/githubUpdateChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const useGithubUpdateChecker = () => {
};

const isNewVersion = versionTag => {
let currentVersion = 'v1.1.5';
let currentVersion = 'v1.1.6';
const regex = /[^\\d.]/;

let newVersion = versionTag.replace(regex, '');
Expand Down
81 changes: 42 additions & 39 deletions src/screens/more/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {useSelector} from 'react-redux';
import {List} from '../../components/List';
import {ScreenContainer} from '../../components/Common';
import {MoreHeader} from './components/MoreHeader';
import {ScrollView} from 'react-native';

const AboutScreen = ({navigation}) => {
const theme = useSelector(state => state.settingsReducer.theme);
Expand All @@ -18,45 +19,47 @@ const AboutScreen = ({navigation}) => {
theme={theme}
goBack={true}
/>
<List.Section>
<List.Item
title="Version"
description="Stable 1.1.5 (23/09/21 1:00 PM)"
theme={theme}
/>
<List.Item
title="What's new"
onPress={() =>
Linking.openURL(
'https://github.com/LNReader/lnreader/releases/tag/v1.1.5',
)
}
theme={theme}
/>
<List.Divider theme={theme} />
<List.Item
title="Discord"
description="https://discord.gg/QdcWN4MD63"
onPress={() => Linking.openURL('https://discord.gg/QdcWN4MD63')}
theme={theme}
/>
<List.Item
title="Github"
description="https://github.com/LNReader/lnreader"
onPress={() =>
Linking.openURL('https://github.com/LNReader/lnreader')
}
theme={theme}
/>
<List.Item
title="Sources"
description="https://github.com/LNReader/lnreader-sources"
onPress={() =>
Linking.openURL('https://github.com/LNReader/lnreader-sources')
}
theme={theme}
/>
</List.Section>
<ScrollView style={{flex: 1}}>
<List.Section>
<List.Item
title="Version"
description="Stable 1.1.6 (26/10/21 09:00 PM)"
theme={theme}
/>
<List.Item
title="What's new"
onPress={() =>
Linking.openURL(
'https://github.com/LNReader/lnreader/releases/tag/v1.1.6',
)
}
theme={theme}
/>
<List.Divider theme={theme} />
<List.Item
title="Discord"
description="https://discord.gg/QdcWN4MD63"
onPress={() => Linking.openURL('https://discord.gg/QdcWN4MD63')}
theme={theme}
/>
<List.Item
title="Github"
description="https://github.com/LNReader/lnreader"
onPress={() =>
Linking.openURL('https://github.com/LNReader/lnreader')
}
theme={theme}
/>
<List.Item
title="Sources"
description="https://github.com/LNReader/lnreader-sources"
onPress={() =>
Linking.openURL('https://github.com/LNReader/lnreader-sources')
}
theme={theme}
/>
</List.Section>
</ScrollView>
</ScreenContainer>
);
};
Expand Down

0 comments on commit e514876

Please sign in to comment.