center label on iOS 13

This commit is contained in:
2020-01-05 17:39:08 +01:00
parent 98a3a38cfc
commit 91ea103e63
2 changed files with 2 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -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;
}
}