commit 080aaf93384c50e10cfdd7d1bba80641f534c5fb parent 70784da38edde672a4dc5901d0b7ce0d6165e949 Author: authorisation <64337177+authorisation@users.noreply.github.com> Date: Sun, 3 Sep 2023 16:10:06 +0200 fix: null handling Diffstat:
M | app/src/main/kotlin/me/rhunk/snapenhance/RemoteSideContext.kt | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/src/main/kotlin/me/rhunk/snapenhance/RemoteSideContext.kt b/app/src/main/kotlin/me/rhunk/snapenhance/RemoteSideContext.kt @@ -101,7 +101,7 @@ class RemoteSideContext( version = it.versionName, versionCode = it.longVersionCode, isLSPatched = it.applicationInfo.appComponentFactory != CoreComponentFactory::class.java.name, - isSplitApk = it.splitNames.isNotEmpty() + isSplitApk = it.splitNames?.isNotEmpty() ?: false ) }, modInfo = ModInfo(