Storage Usage section improvements

This commit is contained in:
Ilya Laktyushin
2019-11-05 14:56:02 +04:00
parent ca685ce3d2
commit c51e3e8c40
18 changed files with 4731 additions and 3885 deletions

View File

@@ -31,7 +31,7 @@ enum AutomaticDownloadDataUsage: Int {
}
}
class AutodownloadDataUsagePickerItem: ListViewItem, ItemListItem {
final class AutodownloadDataUsagePickerItem: ListViewItem, ItemListItem {
let theme: PresentationTheme
let strings: PresentationStrings
let value: AutomaticDownloadDataUsage
@@ -93,7 +93,7 @@ private func generateKnobImage() -> UIImage? {
})
}
class AutodownloadDataUsagePickerItemNode: ListViewItemNode {
private final class AutodownloadDataUsagePickerItemNode: ListViewItemNode {
private let backgroundNode: ASDisplayNode
private let topStripeNode: ASDisplayNode
private let bottomStripeNode: ASDisplayNode