Skip to content

Commit

Permalink
Table name changed to snsExtInfo3; Bump to 1.1;
Browse files Browse the repository at this point in the history
  • Loading branch information
Chion82 committed Nov 7, 2016
1 parent 1f8be0e commit c62bc10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "moe.chionlab.wechatmomentstat"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.1"
}
buildTypes {
release {
Expand Down
Expand Up @@ -56,7 +56,7 @@ protected void queryDatabase() throws Throwable {
}

protected void getCurrentUserIdFromDatabase(SQLiteDatabase database) throws Throwable {
Cursor cursor = database.query("snsExtInfo2", new String[]{"userName"}, "ROWID=?", new String[]{"1"}, "", "", "", "1");
Cursor cursor = database.query("snsExtInfo3", new String[]{"userName"}, "ROWID=?", new String[]{"1"}, "", "", "", "1");
if (cursor.moveToNext()) {
this.currentUserId = cursor.getString(cursor.getColumnIndex("userName"));
}
Expand Down

0 comments on commit c62bc10

Please sign in to comment.