Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,12 @@ protected virtual void SetAppearance(ShellAppearance appearance)

protected virtual bool ChangeSection(ShellSection shellSection)
{
// Update shell appearance based on the new shell section when switching between tabs
((IShellController)ShellContext.Shell).AppearanceChanged(shellSection, false);
return ((IShellItemController)ShellItem).ProposeSection(shellSection);
var result = ((IShellItemController)ShellItem).ProposeSection(shellSection);
if (result)
{
((IShellController)ShellContext.Shell).AppearanceChanged(shellSection, false);
}
return result;
}

protected virtual Drawable CreateItemBackgroundDrawable()
Expand Down
Loading