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

Commit e71af11

Browse files
Removing useless null check
1 parent 6bf5129 commit e71af11

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ public override void OnDisable()
7676
public override void OnDataUpdate()
7777
{
7878
base.OnDataUpdate();
79-
if (userSettingsView != null)
80-
{
81-
userSettingsView.OnDataUpdate();
82-
}
79+
userSettingsView.OnDataUpdate();
8380

8481
MaybeUpdateData();
8582
}

0 commit comments

Comments
 (0)