فهرست منبع

VLCSettingsTableViewCell: Fix selected backgroundColor on theme change

Selected background color is not the good one after switching
theme color leading to white light cells in dark mode and vice versa.
Edgar Fouillet 5 سال پیش
والد
کامیت
f9ec076ee7
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Sources/VLCSettingsTableViewCell.swift

+ 1 - 0
Sources/VLCSettingsTableViewCell.swift

@@ -16,6 +16,7 @@ class VLCSettingsTableViewCell: UITableViewCell {
     
     @objc fileprivate func themeDidChange() {
         backgroundColor = PresentationTheme.current.colors.background
+        selectedBackgroundView?.backgroundColor = PresentationTheme.current.colors.mediaCategorySeparatorColor
         textLabel?.textColor = PresentationTheme.current.colors.cellTextColor
         detailTextLabel?.textColor = PresentationTheme.current.colors.cellDetailTextColor
     }