Skip to content

Commit 5ca1ea0

Browse files
committed
make parameter optional
1 parent 1082058 commit 5ca1ea0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resharper/resharper-unity/src/Unity.Rider/UnityEditorIntegration/EditorPlugin/UnityPluginInstaller.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public UnityPluginInstaller(
5656
FrontendBackendHost frontendBackendHost,
5757
UnitySolutionTracker unitySolutionTracker,
5858
UnityRefresher refresher,
59-
RiderNotificationPopupHost notificationPopupHost,
60-
IHostProductInfo hostProductInfo)
59+
IHostProductInfo hostProductInfo,
60+
RiderNotificationPopupHost notificationPopupHost = null)
6161
{
6262
myPluginInstallations = new JetHashSet<VirtualFileSystemPath>();
6363

@@ -71,9 +71,9 @@ public UnityPluginInstaller(
7171
myUnityVersion = unityVersion;
7272
myUnitySolutionTracker = unitySolutionTracker;
7373
myRefresher = refresher;
74-
myNotificationPopupHost = notificationPopupHost;
7574
myHostProductInfo = hostProductInfo;
76-
75+
myNotificationPopupHost = notificationPopupHost;
76+
7777
myBoundSettingsStore = settingsStore.BoundSettingsStore;
7878
myQueue = new ProcessingQueue(myShellLocks, myLifetime);
7979

0 commit comments

Comments
 (0)