diff --git a/app/build.gradle b/app/build.gradle index 73d7141..f5ebce6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/app/src/main/assets/ReiNX.bin b/app/src/main/assets/ReiNX.bin index 4f97548..e3f6881 100644 Binary files a/app/src/main/assets/ReiNX.bin and b/app/src/main/assets/ReiNX.bin differ diff --git a/app/src/main/java/com/pavelrekun/rekado/screens/payload_fragment/PayloadsView.kt b/app/src/main/java/com/pavelrekun/rekado/screens/payload_fragment/PayloadsView.kt index c1a0891..118d4ab 100644 --- a/app/src/main/java/com/pavelrekun/rekado/screens/payload_fragment/PayloadsView.kt +++ b/app/src/main/java/com/pavelrekun/rekado/screens/payload_fragment/PayloadsView.kt @@ -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}") @@ -121,6 +121,8 @@ class PayloadsView(private val activity: BaseActivity, private val fragment: and } override fun onResume() { - initList() + if (this::adapter.isInitialized) { + prepareList() + } } } \ No newline at end of file