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

Commit 201fb79

Browse files
committed
Crash fix
1 parent 57af904 commit 201fb79

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

app/build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android {
1313
applicationId "me.ccrama.redditslide"
1414
minSdkVersion 15
1515
targetSdkVersion 28
16-
versionCode 313
16+
versionCode 314
1717
versionName androidGitVersion.name()
1818

1919
multiDexEnabled = true
@@ -56,12 +56,6 @@ android {
5656
exclude 'META-INF/LGPL2.1'
5757
}
5858

59-
compileOptions {
60-
encoding = 'UTF-8'
61-
sourceCompatibility JavaVersion.VERSION_1_8
62-
targetCompatibility JavaVersion.VERSION_1_8
63-
}
64-
6559
lintOptions {
6660
quiet true
6761
abortOnError false

app/src/main/java/me/ccrama/redditslide/Activities/SubredditView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ public void onClick(@NonNull MaterialDialog dialog,
741741
protected View doInBackground(View... params) {
742742
try {
743743
m = new AccountManager(Authentication.reddit);
744+
System.out.println(subOverride);
744745
JsonNode node = m.getFlairChoicesRootNode(subOverride, null);
745746
flairs = m.getFlairChoices(subOverride, node);
746747

@@ -963,7 +964,7 @@ protected void onPostExecute(
963964
});
964965
}
965966
}
966-
}.execute(dialoglayout.findViewById(R.id.flair));
967+
}.execute();
967968
}
968969
} else {
969970
if (drawerLayout != null) {

0 commit comments

Comments
 (0)