Skip to content

Commit

Permalink
#228; style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantcheese committed Jul 25, 2019
1 parent 6a37dd1 commit 3b575c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Kuroba/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
compileSdkVersion 29

defaultConfig {
minSdkVersion 21
targetSdkVersion 28
targetSdkVersion 29

/**
* ------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions Kuroba/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<uses-permission-sdk-23 android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

Expand All @@ -32,6 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:allowBackup="true"
android:icon="${iconLoc}"
android:label="${appName}"
android:requestLegacyExternalStorage="true"
android:theme="@style/Chan.Theme">

<uses-library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ public void showThread(final Loadable threadLoadable) {
new AlertDialog.Builder(context)
.setNegativeButton(R.string.cancel, null)
.setPositiveButton(R.string.ok, (dialog, which) -> {
if (loadable.isThreadMode()) {
threadFollowerpool.addFirst(loadable);
}
threadFollowerpool.addFirst(loadable);
loadThread(threadLoadable);
})
.setTitle(R.string.open_thread_confirmation)
Expand Down Expand Up @@ -537,8 +535,7 @@ public boolean threadBackPressed() {
if (threadFollowerpool.isEmpty()) {
return false;
}
Loadable threadLoadable = threadFollowerpool.removeFirst();
loadThread(threadLoadable, false);
loadThread(threadFollowerpool.removeFirst(), false);
return true;
}
}

0 comments on commit 3b575c2

Please sign in to comment.