Skip to content

Commit

Permalink
Merge pull request #132 from KoenZomers/RequireCheckoutFix
Browse files Browse the repository at this point in the history
Version 2.1.2.0
  • Loading branch information
KoenZomers authored May 22, 2020
2 parents 0d6800c + ca95a48 commit 9e0100c
Show file tree
Hide file tree
Showing 16 changed files with 1,200 additions and 1,087 deletions.
Binary file modified KeeOneDriveSync.plgx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ public OneDriveCloudTypeForm()
{
InitializeComponent();

OneDriveConsumerPictureButton.BackgroundImage = Resources.OneDrive;
GraphPictureButton.BackgroundImage = Resources.MSGraph;
GraphDeviceLoginPictureButton.BackgroundImage = Resources.MSGraph;
GraphPictureButton.BackgroundImage = Resources.OneDriveBothClouds;
GraphDeviceLoginPictureButton.BackgroundImage = Resources.OneDriveBothClouds;
SharePointPictureButton.BackgroundImage = Resources.SharePoint;
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public async Task LoadFolderItems(string parentItemId = null)
{
Text = oneDriveItem.Name,
Tag = oneDriveItem.RemoteItem != null ? oneDriveItem.RemoteItem.Id : oneDriveItem.Id,
ImageKey = oneDriveItem.Folder != null ? "Folder" : oneDriveItem.RemoteItem != null ? "RemoteFolder" : "File"
ImageKey = oneDriveItem.Folder != null ? "Folder" : oneDriveItem.RemoteItem != null ? "RemoteFolder" : "File",
Selected = oneDriveItem.Name.Equals(FileNameTextBox.Text, StringComparison.InvariantCultureIgnoreCase)
};

if (oneDriveItem.Size > 0)
Expand Down Expand Up @@ -160,6 +161,7 @@ public async Task LoadSharedWithMeItems(OneDriveItem parentItem = null)
Text = oneDriveItem.Name,
Tag = oneDriveItem,
ImageKey = (oneDriveItem.RemoteItem != null && oneDriveItem.RemoteItem.Folder != null) || oneDriveItem.Folder != null ? "RemoteFolder" : "File",
Selected = oneDriveItem.Name.Equals(FileNameTextBox.Text, StringComparison.InvariantCultureIgnoreCase)
};

OneDriveIdentity sharedInfo = null;
Expand Down Expand Up @@ -227,6 +229,7 @@ public async Task LoadSharedWithMeItems(OneDriveItem parentItem = null)
Text = oneDriveItem.Name,
Tag = oneDriveItem,
ImageKey = oneDriveItem.Folder != null ? "RemoteFolder" : "File",
Selected = oneDriveItem.Name.Equals(FileNameTextBox.Text, StringComparison.InvariantCultureIgnoreCase)
};

OneDriveIdentity sharedInfo = null;
Expand Down
Loading

0 comments on commit 9e0100c

Please sign in to comment.