Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compat check: fix logic for Web Patch (re)install #420

Merged
merged 3 commits into from
Feb 25, 2023

Conversation

nephros
Copy link
Contributor

@nephros nephros commented Feb 24, 2023

Some fallout from #408

The logic prevents installation of incompatible patches from Web Catalog despite (or in the reverse meaning of) the VersionCheck setting.

At first I attributed this to the migrated settings bug #405, but it's a separate issue.

Please review the logic, could be I missed a case.


onClicked: {
if ((PatchManager.sfosVersionCheck !== VersionCheck.Strict) && !isCompatible) {
if (fileDelegate.isReinstallable) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consistency nit: is fileDelegate. needed

  • here specifically
  • in all accesses for the properties changed in this PR (isCompatible, forceCompatible) or
  • in none of the cases?

src/qml/WebPatchPage.qml Outdated Show resolved Hide resolved
@nephros nephros merged commit ecaddcb into sailfishos-patches:master Feb 25, 2023
@nephros nephros deleted the fix-408-logic branch February 25, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants