Skip to content

Commit

Permalink
Edited comment to better explain what is going on.
Browse files Browse the repository at this point in the history
  • Loading branch information
bustedbunny committed Mar 28, 2023
1 parent ddec89b commit 5baa268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Common/UIRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public async UniTask Initialize(StrongReferenceMessenger messenger, ServiceProvi
// After all services have been registered we do dependency injection
serviceProvider.Inject();

// Now we resolve cross references for views and viewModels
// Now we call OnInit for views and viewModels
foreach (var view in _views) view.Attach(messenger, serviceProvider);
foreach (var viewModel in _viewModels) viewModel.Attach(messenger, serviceProvider);

Expand Down

0 comments on commit 5baa268

Please sign in to comment.