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

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

cyberta 5 роки тому
батько
коміт
ca965e3270

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

@@ -1,9 +1,9 @@
 import UIKit
 import DcCore
 
-public class EmptyStateLabel: FlexLabel {
+class EmptyStateLabel: FlexLabel {
 
-    public override var text: String? {
+    override var text: String? {
         set {
             guard let newValue = newValue else {
                 super.label.attributedText = nil
@@ -26,7 +26,7 @@ public class EmptyStateLabel: FlexLabel {
         }
     }
 
-    public override init() {
+    override init() {
         super.init()
         label.backgroundColor = DcColors.systemMessageBackgroundColor
         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
 /// allows it's label to grow/shrink within it's available space
-public class FlexLabel: UIView {
+class FlexLabel: UIView {
 
     var text: String? {
         set {