Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

App extension improvements #346

Merged
merged 7 commits into from Aug 18, 2017

Conversation

aramsargsyan
Copy link
Contributor

No description provided.

@giomfo giomfo self-requested a review August 17, 2017 13:44
@@ -26,7 +26,7 @@

static MXKAppSettings *standardAppSettings = nil;

static NSString *const kMXAppGroupID = @"group.org.matrix";
static NSString *const kMXAppGroupID = @"group.im.vector";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change kMXAppGroupID. Let use group.org.matrix as default to avoid mention vector here

@@ -357,93 +353,6 @@ - (void)pasteText:(NSString *)text

#pragma mark - MXKImageCompressionSize
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this #pragma mark, or maybe move it to MXKTools

@@ -0,0 +1,17 @@
//
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set the correct file header:
"/*
Copyright 2017 Aram Sargsyan
[...]
*/"


#import <UIKit/UIKit.h>

@interface MXKPieChartHUD : UIView
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please inherit the MXKView class (required to handle UI theme change)

@@ -0,0 +1,93 @@
//
// MXKPieChartHUD.m
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set the correct file header

self.clipsToBounds = YES;
self.layer.cornerRadius = 10.0;

self.pieChartView.backgroundColor = [UIColor clearColor];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should override [MXKView customizeViewRendering] method in order to move
the color settings in it.

@giomfo giomfo merged commit dba4443 into matrix-org:develop Aug 18, 2017
@aramsargsyan
Copy link
Contributor Author

Signed-off-by: Aram Sargsyan aram.sargsyan.1997@gmail.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants