Skip to content

Commit 6977a6d

Browse files
committed
Removed unwanted foreward slashes and added more comments.
1 parent f05242a commit 6977a6d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Main/MainWindowViewModel.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)