       case .night: fallthrough
       case .vehicleNight: return isVehicleRouting ? .vehicleNight : .night
       case .auto:
-        if #available(iOS 13.0, *) {
+        if #available(iOS 13.0, *), ThemeManager.enableDarkModeBySystem {
           guard isVehicleRouting else { return isDarkModeEnabled ? .night : .day }
           return isDarkModeEnabled ? .vehicleNight : .vehicleDay
         } else {

      case .night: fallthrough
      case .vehicleNight: return true
      case .auto: assert(false); return false
      }
    }(actualTheme)


          switch FrameworkHelper.daytime(at: MWMLocationManager.lastLocation()) {
          case .day: return .vehicleDay
          case .night: return .vehicleNight
          @unknown default:
            fatalError()
          }
        }
      @unknown default:
        fatalError()
      }
    }(theme)

