Skip to content

Commit

Permalink
Update the drive sample to the new apis from the comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Sep 5, 2023
1 parent 1f6a11e commit b6ed9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/DriveSample/DriveSampleWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ - (NSString *)fileTitleWithLabelsForFile:(GTLRDrive_File *)file {
if (file.trashed.boolValue) {
[title insertString:@"\u2717 " atIndex:0]; // X character
}
if (file.viewersCanCopyContent.boolValue) {
if (file.copyRequiresWriterPermission.boolValue) {
[title appendString:@" \u21DF"]; // crossed down arrow character
}
return title;
Expand Down

0 comments on commit b6ed9d7

Please sign in to comment.