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

    
    override func viewDidLoad() {
        super.viewDidLoad()
        setupObserve()
        tableView.delegate = self
        tableView.dataSource = self
        tableView.separatorInset = UIEdgeInsetsMake(0, 20, 0, 20)


import UIKit
import CloudKit
import GoogleMobileAds

final class BackupViewController: UITableViewController, GADBannerViewDelegate {
    
    
    private func addBannerViewToView(_ bannerView: GADBannerView) {
        view.addSubview(bannerView)
        var bottomAnchor = view.bottomAnchor
        if #available(iOS 11.0, *) { bottomAnchor = view.safeAreaLayoutGuide.bottomAnchor }
        bannerView.anchor(top: nil, left: view.leftAnchor, bottom: bottomAnchor, right: view.rightAnchor, topPadding: 0, leftPadding: 0, bottomPadding: 0, rightPadding: 0, width: 0, height: 60)
    }
    
    
    func adViewDidReceiveAd(_ bannerView: GADBannerView) {
        self.bannerView = bannerView
        bannerView.alpha = 0
        UIView.animate(withDuration: 1,
                       animations: { bannerView.alpha = 1 }
        )
    }
    
    
    private var bannerView = GADBannerView(adSize: GADAdSizeFromCGSize(CGSize(width: UIScreen.main.bounds.width, height: 50)))
    private func setupAds() {
        bannerView.adUnitID = "ca-app-pub-3940256099942544/2934735716"
        bannerView.rootViewController = self
        bannerView.load(GADRequest())
        bannerView.delegate = self
    }
    
    weak var stations: StationDataSource?
    
