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

Commit ea74e08

Browse files
Removing if statement
1 parent 57fb4e0 commit ea74e08

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,7 @@ public override void OnDisable()
8585
public override void OnDataUpdate()
8686
{
8787
base.OnDataUpdate();
88-
89-
if (gitPathView != null)
90-
{
91-
gitPathView.OnDataUpdate();
92-
}
88+
gitPathView.OnDataUpdate();
9389
MaybeUpdateData();
9490
}
9591

0 commit comments

Comments
 (0)