Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

@StanleyGoldman
Copy link
Contributor

No description provided.

Other places in the code call IsFavourite with other types of objects
that aren't strings (like a GitBranch instance). We either have overloads
for all of them or we just take a string and the caller should know
what to pass us, less of an API footprint to worry about.
public override void InitializeView(IView parent)
{
base.InitializeView(parent);
usageTracker = Manager != null && Manager.UsageTracker != null ? Manager.UsageTracker : null;
Copy link
Member

Choose a reason for hiding this comment

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

This is not needed, the Manager is always guaranteed to exist

Copy link
Member

Choose a reason for hiding this comment

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

UsageTracker is never null either so we don't have to worry about that

@shana shana merged commit 7bbc76f into master Sep 8, 2017
@shana shana deleted the fixes/settings-update-on-enable branch September 8, 2017 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants