Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
Crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrama committed Nov 30, 2018
1 parent 57af904 commit 201fb79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
applicationId "me.ccrama.redditslide"
minSdkVersion 15
targetSdkVersion 28
versionCode 313
versionCode 314
versionName androidGitVersion.name()

multiDexEnabled = true
Expand Down Expand Up @@ -56,12 +56,6 @@ android {
exclude 'META-INF/LGPL2.1'
}

compileOptions {
encoding = 'UTF-8'
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
quiet true
abortOnError false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ public void onClick(@NonNull MaterialDialog dialog,
protected View doInBackground(View... params) {
try {
m = new AccountManager(Authentication.reddit);
System.out.println(subOverride);
JsonNode node = m.getFlairChoicesRootNode(subOverride, null);
flairs = m.getFlairChoices(subOverride, node);

Expand Down Expand Up @@ -963,7 +964,7 @@ protected void onPostExecute(
});
}
}
}.execute(dialoglayout.findViewById(R.id.flair));
}.execute();
}
} else {
if (drawerLayout != null) {
Expand Down

0 comments on commit 201fb79

Please sign in to comment.