Sync with git.
- Fix a weird issue where pinned apps weren't showing reliably.
- The expected behaviour is "restrict to workspace" is basically a filter. If you have it enabled, we should check if it's only on the workspace first. Then based on those buttons, if it's also pinned (if pinned is set). If restrict to workspace is disabled, it should only be based on if pinned (favorites) is set. If it is, use that value, otherwise fallback to true (visible button).