chore: Should also copy repoUrl

This commit is contained in:
ziro 2024-01-17 12:00:49 +07:00
parent 750a44ca9c
commit 2676a38494
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -208,7 +208,10 @@ class ExtensionManager(
if (availableExt != null) {
val hasUpdate = installedExt.updateExists(availableExt)
if (installedExt.hasUpdate != hasUpdate) {
mutInstalledExtensions[index] = installedExt.copy(hasUpdate = hasUpdate)
mutInstalledExtensions[index] = installedExt.copy(
hasUpdate = hasUpdate,
repoUrl = availableExt.repoUrl,
)
hasUpdateCount++
changed = true
}