瀏覽代碼

center label on iOS 13

tags/v2.2.0
Viggo Lekdorf 4 年之前
父節點
當前提交
91ea103e63
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 二進制
      .DS_Store
  2. +2
    -2
      Tweak.xm

二進制
.DS_Store 查看文件


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


Loading…
取消
儲存