Skip to content

Commit

Permalink
Version 1.0.7
Browse files Browse the repository at this point in the history
A issue fixed for 1.0.66666 to cause app to crash


Former-commit-id: b5c4c3b
  • Loading branch information
HenryQuan committed Mar 14, 2018
1 parent fde0e28 commit c859f5d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions AnimeGo/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ android {
applicationId "com.yihengquan.gogoanime"
minSdkVersion 16
targetSdkVersion 25
versionCode 6
versionName "1.0.66666"
versionCode 7
versionName "1.0.7"
ndk {
abiFilters "armeabi-v7a", "x86"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
��f�W�%���G��Tr��`M
6���NfT����*�-ƏQ�G
2 changes: 1 addition & 1 deletion AnimeGo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion AnimeGo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "AnimeGo",
"version": "1.0.66666",
"version": "1.0.7",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
10 changes: 6 additions & 4 deletions AnimeGo/src/helper/DataManager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AsyncStorage } from 'react-native';
import { AsyncStorage, Alert } from 'react-native';
import { VERSION } from '../value';

class DataManager {
Expand All @@ -25,9 +25,11 @@ class DataManager {
}
const dataSaver = await AsyncStorage.getItem('@dataSaver');
const DUB = await AsyncStorage.getItem('@DUB');
const favList = await AsyncStorage.getItem('@Favourite');
global.favList = JSON.parse(favList);
console.log(global.favList);
var favList = await AsyncStorage.getItem('@Favourite');
// To fix the mistake I made before
if (favList == '{}') global.favList = [];
else global.favList = JSON.parse(favList);
// console.log(global.favList);
global.dataSaver = JSON.parse(dataSaver);
global.hideDub = JSON.parse(DUB);
}
Expand Down
2 changes: 1 addition & 1 deletion AnimeGo/src/value.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const MicrosoftStore = 'https://www.microsoft.com/store/p/anime-go/9mx3qr
export const Email = 'mailto:[email protected]';

export const AD_IS_OPTIONAL = 'This is completely optional.'
export const VERSION = '1.0.66666';
export const VERSION = '1.0.7';

export const ScreenIndex = {
NewRelease: 0,
Expand Down

0 comments on commit c859f5d

Please sign in to comment.