浏览代码

revert changes in EmptyStateLabel and Flex Label wrt the scope of access

cyberta 5 年之前
父节点
当前提交
ca965e3270
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      deltachat-ios/View/EmptyStateLabel.swift
  2. 1 1
      deltachat-ios/View/FlexLabel.swift

+ 3 - 3
deltachat-ios/View/EmptyStateLabel.swift

@@ -1,9 +1,9 @@
 import UIKit
 import UIKit
 import DcCore
 import DcCore
 
 
-public class EmptyStateLabel: FlexLabel {
+class EmptyStateLabel: FlexLabel {
 
 
-    public override var text: String? {
+    override var text: String? {
         set {
         set {
             guard let newValue = newValue else {
             guard let newValue = newValue else {
                 super.label.attributedText = nil
                 super.label.attributedText = nil
@@ -26,7 +26,7 @@ public class EmptyStateLabel: FlexLabel {
         }
         }
     }
     }
 
 
-    public override init() {
+    override init() {
         super.init()
         super.init()
         label.backgroundColor = DcColors.systemMessageBackgroundColor
         label.backgroundColor = DcColors.systemMessageBackgroundColor
         label.textColor = DcColors.defaultTextColor
         label.textColor = DcColors.defaultTextColor

+ 1 - 1
deltachat-ios/View/FlexLabel.swift

@@ -2,7 +2,7 @@ import UIKit
 
 
 /// view that contains a label (horizontally centered) and
 /// view that contains a label (horizontally centered) and
 /// allows it's label to grow/shrink within it's available space
 /// allows it's label to grow/shrink within it's available space
-public class FlexLabel: UIView {
+class FlexLabel: UIView {
 
 
     var text: String? {
     var text: String? {
         set {
         set {