Skip to content

Commit

Permalink
Host loading with default values for ObjC pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Cabanero committed Jul 17, 2023
1 parent e84a081 commit de72f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Settings/ViewControllers/BKHosts/HostView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,9 @@ struct HostView: View {
}
}

_moshPrediction.rawValue = UInt32(host.prediction.intValue)
_moshPrediction.rawValue = UInt32(host.prediction?.intValue ?? 0)
_moshPredictOverwrite = host.moshPredictOverwrite == "yes"
_moshExperimentalIP.rawValue = UInt32(host.moshExperimentalIP.intValue)
_moshExperimentalIP.rawValue = UInt32(host.moshExperimentalIP?.intValue ?? 0)
_moshServer = host.moshServer ?? ""
_moshCommand = host.moshStartup ?? ""
_domains = FileProviderDomain.listFrom(jsonString: host.fpDomainsJSON)
Expand Down

0 comments on commit de72f99

Please sign in to comment.