Skip to content

Commit

Permalink
Correct condition for quick action button highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
gsurkov committed Aug 11, 2021
1 parent 76cd1d7 commit e33f12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/components/FlipperListDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Item {
const channelName = "release";
const latestVersion = updateRegistry.channel(channelName).latestVersion;

return (latestVersion.number > device.version) || (device.version.includes(latestVersion.number));
return (latestVersion.number > device.version) || ((latestVersion.number !== device.version) && (device.version.includes(latestVersion.number)));
}

visible: (updateRegistry.channelNames.length > 0) && !(device.isPersistent || device.isError)
Expand Down

0 comments on commit e33f12e

Please sign in to comment.