|
@@ -327,23 +327,6 @@
|
|
|
}];
|
|
|
}
|
|
|
|
|
|
- // Share
|
|
|
- if (_metadata.cryptated == NO && app.hasServerShareSupport) {
|
|
|
-
|
|
|
- [actionSheet addButtonWithTitle:NSLocalizedString(@"_share_", nil)
|
|
|
- image:[UIImage imageNamed:image_actionSheetShare]
|
|
|
- backgroundColor:[UIColor whiteColor]
|
|
|
- height: 50.0
|
|
|
- type:AHKActionSheetButtonTypeDefault
|
|
|
- handler:^(AHKActionSheet *as) {
|
|
|
-
|
|
|
- // close swipe
|
|
|
- [self setEditing:NO animated:YES];
|
|
|
-
|
|
|
- [app.activeMain openWindowShare:metadata];
|
|
|
- }];
|
|
|
- }
|
|
|
-
|
|
|
// NO Directory - NO Template
|
|
|
if (metadata.directory == NO && [metadata.type isEqualToString:k_metadataType_template] == NO) {
|
|
|
|