mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 21:05:44 +03:00
Windows Overlay: Fix icon refresh
The condition for the refresh was inverse of what it should have been.
This commit is contained in:
parent
c34c8ff358
commit
19daff36b0
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void RemotePathChecker::workerThreadLoop()
|
|||
bool changed = false;
|
||||
{ std::unique_lock<std::mutex> lock(_mutex);
|
||||
auto &it = _cache[responsePath];
|
||||
changed = it == state;
|
||||
changed = (it != state);
|
||||
it = state;
|
||||
}
|
||||
if (changed) {
|
||||
|
|
Loading…
Reference in a new issue