Sorry; I'm not used to patch writing.
I see these commits can be got as patches with respective diff URLs:
https://github.com/nextcloud/desktop/commit/6ea88ea02d809149ec2e394a091008a6b9dd158f.diff
https://github.com/nextcloud/desktop/commit/972e04bc755f67165f646a0c149846f8a77531f3.diff
--
Narcis Garcia
__________
I'm using this dedicated address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should remove and omit any @, dot and mailto combinations against
automated addresses collectors.