mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Should also copy repoUrl
This commit is contained in:
parent
750a44ca9c
commit
2676a38494
1 changed files with 4 additions and 1 deletions
|
@ -208,7 +208,10 @@ class ExtensionManager(
|
||||||
if (availableExt != null) {
|
if (availableExt != null) {
|
||||||
val hasUpdate = installedExt.updateExists(availableExt)
|
val hasUpdate = installedExt.updateExists(availableExt)
|
||||||
if (installedExt.hasUpdate != hasUpdate) {
|
if (installedExt.hasUpdate != hasUpdate) {
|
||||||
mutInstalledExtensions[index] = installedExt.copy(hasUpdate = hasUpdate)
|
mutInstalledExtensions[index] = installedExt.copy(
|
||||||
|
hasUpdate = hasUpdate,
|
||||||
|
repoUrl = availableExt.repoUrl,
|
||||||
|
)
|
||||||
hasUpdateCount++
|
hasUpdateCount++
|
||||||
changed = true
|
changed = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue