Skip to content

Commit

Permalink
Fix all addons being shown as Replugged
Browse files Browse the repository at this point in the history
  • Loading branch information
asportnoy committed Mar 1, 2023
1 parent 836f0c3 commit 179554f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/renderer/coremods/settings/pages/Updater.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,17 @@ export const Updater = (): React.ReactElement => {
{updatesAvailable.map((update) => {
const isReplugged = update.id == "dev.replugged.Replugged";
const addon =
plugins.get(update.id) || themes.get(update.id) || isReplugged
plugins.get(update.id) ||
themes.get(update.id) ||
(isReplugged
? {
manifest: {
type: "replugged",
name: "Replugged",
version: window.RepluggedNative.getVersion(),
},
}
: null;
: null);
const isUpdating = update.id in updatePromises;
if (!addon) return null;
const { manifest } = addon;
Expand Down

0 comments on commit 179554f

Please sign in to comment.