Skip to content

Commit

Permalink
- Added ReiNX payload 1.7
Browse files Browse the repository at this point in the history
- Fixed crash when opening Payloads category
  • Loading branch information
Pavel Rekun committed Oct 4, 2018
1 parent d9c2b3c commit 571b50c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.pavelrekun.rekado"
minSdkVersion minimumSDKVersion
targetSdkVersion currentSDKVersion
versionCode 27
versionName "2.4"
versionCode 28
versionName "2.4.1"

externalNativeBuild {
cmake {
Expand Down
Binary file modified app/src/main/assets/ReiNX.bin
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class PayloadsView(private val activity: BaseActivity, private val fragment: and
}

try {
MemoryUtils.toFile(pathFile, (PayloadHelper.FOLDER_PATH + "/" + payload.name))
MemoryUtils.toFile(pathFile, "${PayloadHelper.FOLDER_PATH}/${payload.name}")

EventBus.getDefault().post(Events.UpdatePayloadsListEvent())
LogHelper.log(LogHelper.INFO, "Added new payload: ${payload.name}")
Expand All @@ -121,6 +121,8 @@ class PayloadsView(private val activity: BaseActivity, private val fragment: and
}

override fun onResume() {
initList()
if (this::adapter.isInitialized) {
prepareList()
}
}
}

0 comments on commit 571b50c

Please sign in to comment.