Skip to content

Commit

Permalink
Removed unwanted foreward slashes and added more comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimGels committed Jun 22, 2020
1 parent f05242a commit 6977a6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Main/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ public MainWindowViewModel()
GetUserInformation();
}

/// <summary>
/// Retrieves the user information to display the user's name and his profile picture.
/// </summary>
public async void GetUserInformation()
{
CurrentUsername = "Hi, " + (await graph.GetOneDriveUserInformationAsync()).GivenName;
Expand All @@ -152,6 +155,9 @@ public async void GetUserInformation()
}
}

/// <summary>
/// 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.
/// </summary>
/// <param name="obj"></param>
private void ReloadCache(object obj)
{
Expand Down Expand Up @@ -203,7 +209,6 @@ public async void GetDrives(object obj)
/// <param name="obj"></param>
public async void GetChildrenFomDrive(object obj)
{
//
ParentItem = null;

//Prevents exception when user clicks an empty space in the ListBox.
Expand Down

0 comments on commit 6977a6d

Please sign in to comment.