mirror of
https://github.com/yattee/yattee.git
synced 2025-10-12 02:18:17 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -99,7 +99,7 @@ struct QualityProfilesModel {
|
||||
id = Defaults[.chargingNonCellularProfile]
|
||||
#endif
|
||||
|
||||
guard let id = id else { return nil }
|
||||
guard let id else { return nil }
|
||||
|
||||
return find(id)
|
||||
}
|
||||
|
Reference in New Issue
Block a user