Переглянути джерело

center label on iOS 13

tags/v2.2.0
Viggo Lekdorf 4 роки тому
джерело
коміт
91ea103e63
2 змінених файлів з 2 додано та 2 видалено
  1. BIN
      .DS_Store
  2. +2
    -2
      Tweak.xm

+ 2
- 2
Tweak.xm Переглянути файл

@@ -1,10 +1,9 @@
@interface SBUILegibilityLabel : UIView
@property (nonatomic,copy) NSString *string;
@property (assign,nonatomic) long long textAlignment;
@end

@interface NCNotificationListSectionRevealHintView : UIView
//-(void)_updateHintTitle;
//-(void)setRevealHintTitle;
@property (nonatomic,retain)SBUILegibilityLabel *revealHintTitle;
@end

@@ -57,6 +56,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
%orig;
if (enabled) {
self.revealHintTitle.string = customText;
self.revealHintTitle.textAlignment = 1;
}
}


Завантаження…
Відмінити
Зберегти