mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-22 06:23:57 +00:00
fix: extensions not triggering update in app
This commit is contained in:
@@ -234,7 +234,7 @@ class NovelExtensionManager(private val context: Context) {
|
||||
private fun NovelExtension.Installed.updateExists(availableNovelExtension: NovelExtension.Available? = null): Boolean {
|
||||
val availableExt = availableNovelExtension
|
||||
?: _availableNovelExtensionsFlow.value.find { it.pkgName == pkgName }
|
||||
if (isUnofficial || availableExt == null) return false
|
||||
if (availableExt == null) return false
|
||||
|
||||
return (availableExt.versionCode > versionCode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user