зеркало из https://github.com/nextcloud/talk-ios.git
Rename themeColor variable to themeTextColor.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
b8e6b8453a
Коммит
e6d67e3b71
|
@ -37,7 +37,7 @@
|
|||
self = [self init];
|
||||
|
||||
if (self) {
|
||||
UIColor *themeColor = [NCAppBranding themeTextColor];
|
||||
UIColor *themeTextColor = [NCAppBranding themeTextColor];
|
||||
|
||||
// Use UIButton as CustomView in UIBarButtonItem to have a fixed-size item
|
||||
self.innerButton = [[UIButton alloc] init];
|
||||
|
@ -45,11 +45,11 @@
|
|||
[self.innerButton setImage:buttonImage forState:UIControlStateNormal];
|
||||
self.innerButton.tintColor = UIColor.whiteColor;
|
||||
self.innerButton.frame = CGRectMake(0, 0, buttonWidth, 0);
|
||||
self.innerButton.tintColor = themeColor;
|
||||
self.innerButton.tintColor = themeTextColor;
|
||||
|
||||
// Make sure the size of UIBarButtonItem stays the same when displaying the ActivityIndicator
|
||||
self.activityIndicator = [[UIActivityIndicatorView alloc] init];
|
||||
self.activityIndicator.color = themeColor;
|
||||
self.activityIndicator.color = themeTextColor;
|
||||
self.activityIndicator.frame = CGRectMake(0, 0, buttonWidth, 0);
|
||||
|
||||
[self setCustomView:self.innerButton];
|
||||
|
|
Загрузка…
Ссылка в новой задаче