Browse Source

center label on iOS 13

tags/v2.2.0
Viggo Lekdorf 5 years ago
parent
commit
91ea103e63
2 changed files with 2 additions and 2 deletions
  1. BIN
      .DS_Store
  2. +2
    -2
      Tweak.xm

BIN
.DS_Store View File


+ 2
- 2
Tweak.xm View File

@interface SBUILegibilityLabel : UIView @interface SBUILegibilityLabel : UIView
@property (nonatomic,copy) NSString *string; @property (nonatomic,copy) NSString *string;
@property (assign,nonatomic) long long textAlignment;
@end @end


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


%orig; %orig;
if (enabled) { if (enabled) {
self.revealHintTitle.string = customText; self.revealHintTitle.string = customText;
self.revealHintTitle.textAlignment = 1;
} }
} }



Loading…
Cancel
Save