diff --git a/Sources/Earthquake Network/Controllers/Reports/SegnalazioniLast24HoursCell.swift b/Sources/Earthquake Network/Controllers/Reports/SegnalazioniLast24HoursCell.swift index 819972a..7df1a33 100644 --- a/Sources/Earthquake Network/Controllers/Reports/SegnalazioniLast24HoursCell.swift +++ b/Sources/Earthquake Network/Controllers/Reports/SegnalazioniLast24HoursCell.swift @@ -28,7 +28,11 @@ class SegnalazioniLast24HoursCell: EQNBaseTableViewCell { // MARK: - Public - @objc func updateUI(for smartphoneNetwork: EQNReteSmartphone) { + @objc func updateUI(for smartphoneNetwork: EQNReteSmartphone?) { + guard let smartphoneNetwork = smartphoneNetwork else { + return + } + self.mildReportsLabel.text = "\(smartphoneNetwork.manualGreen)" self.strongReportsLabel.text = "\(smartphoneNetwork.manualYellow)" self.veryStrongReportsLabel.text = "\(smartphoneNetwork.manualRed)" diff --git a/Sources/Earthquake Network/Storyboards/Base.lproj/Main.storyboard b/Sources/Earthquake Network/Storyboards/Base.lproj/Main.storyboard index afb10fe..48e4dd3 100644 --- a/Sources/Earthquake Network/Storyboards/Base.lproj/Main.storyboard +++ b/Sources/Earthquake Network/Storyboards/Base.lproj/Main.storyboard @@ -399,10 +399,10 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern - + - + @@ -411,8 +411,8 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern - - + - - + -