                                 return
                             }
                         }
-                         NetworkActivityIndicatorManager.shared.networkOperationFinished()
+                        NetworkActivityIndicatorManager.shared.networkOperationFinished()
                         self.navigationController?.title = "備份與還原"
-                            self.stations?.batteryStationPointAnnotations = stations
+                        self.stations?.batteryStationPointAnnotations = stations
                     }
                 }),
                 UIAlertAction(title: "取消", style: .cancel, handler: nil),


import UIKit
import CloudKit

final class BackupViewController: UITableViewController {
    
    weak var stations: StationDataSource?
    

                            guard let data = element.0, let batteryRecords = try? JSONDecoder().decode([BatteryStationRecord].self, from: data) else { return nil }
                            let size = BackupTableViewCell.byteCountFormatter.string(fromByteCount: Int64(data.count))
                            return BackupTableViewCell(title: "\(index + 1). 上傳時間: \(element.1 ?? "")",
                                subtitle: "檔案容量: \(size), 打卡次數：\(batteryRecords.reduce(0) { $0 + $1.checkinCount })" ,
                                stationRecords: batteryRecords)
                        } + [self.deleteCell]
                    
                    
                    subtitleText = "最新備份時間：\(date)"
                } else {
                    self.elements[1].cells = [self.noDataCell]
                    subtitleText = nil
                }
                if let dataSize = dataSize {
                    self.elements[1].footView?.titleLabel.text = "iCloud 已使用儲存容量：" + BackupTableViewCell.byteCountFormatter.string(fromByteCount: Int64(dataSize))
                }
                self.backupfooterView.subtitleLabel.text = subtitleText
                self.tableView.reloadData()
