File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ public MainWindowViewModel()
139139 GetUserInformation ( ) ;
140140 }
141141
142+ /// <summary>
143+ /// Retrieves the user information to display the user's name and his profile picture.
144+ /// </summary>
142145 public async void GetUserInformation ( )
143146 {
144147 CurrentUsername = "Hi, " + ( await graph . GetOneDriveUserInformationAsync ( ) ) . GivenName ;
@@ -152,6 +155,9 @@ public async void GetUserInformation()
152155 }
153156 }
154157
158+ /// <summary>
159+ /// Reloads the cache of the drives and removes the item explorer view so the user needs to select a drive again to access explorer items.
160+ /// </summary>
155161 /// <param name="obj"></param>
156162 private void ReloadCache ( object obj )
157163 {
@@ -203,7 +209,6 @@ public async void GetDrives(object obj)
203209 /// <param name="obj"></param>
204210 public async void GetChildrenFomDrive ( object obj )
205211 {
206- //
207212 ParentItem = null ;
208213
209214 //Prevents exception when user clicks an empty space in the ListBox.
You can’t perform that action at this time.
0 commit comments