Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
e5aae63284
Modificáronse 2 ficheiros con 8 adicións e 2 borrados
  1. 4 1
      iOSClient/Main/CCMain.m
  2. 4 1
      iOSClient/QuickActions/CCQuickActions.m

+ 4 - 1
iOSClient/Main/CCMain.m

@@ -708,8 +708,11 @@
     [PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status){
         dispatch_async(dispatch_get_main_queue(), ^{
             
+            CTAssetCheckmark *checkmark = [CTAssetCheckmark appearance];
+            [checkmark setMargin:0.0 forVerticalEdge:NSLayoutAttributeRight horizontalEdge:NSLayoutAttributeBottom];
+            
             // init picker
-            CTAssetsPickerController *picker = [[CTAssetsPickerController alloc] init];
+            CTAssetsPickerController *picker = [CTAssetsPickerController new];
             
             // set delegate
             picker.delegate = self;

+ 4 - 1
iOSClient/QuickActions/CCQuickActions.m

@@ -101,8 +101,11 @@
     [PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status) {
         dispatch_async(dispatch_get_main_queue(), ^{
             
+            CTAssetCheckmark *checkmark = [CTAssetCheckmark appearance];
+            [checkmark setMargin:0.0 forVerticalEdge:NSLayoutAttributeRight horizontalEdge:NSLayoutAttributeBottom];
+            
             // init picker
-            _picker = [[CTAssetsPickerController alloc] init];
+            _picker = [CTAssetsPickerController new];
             
             // set delegate
             _picker.delegate = self;