Explorar o código

Merge pull request #5016 from guptamohit1907/master

Unnecessary space Removal and Semicolons are removed
Xuan %!s(int64=2) %!d(string=hai) anos
pai
achega
d8d96d87b1
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      ChartsDemo-iOS/Swift/DemoBaseViewController.swift

+ 2 - 4
ChartsDemo-iOS/Swift/DemoBaseViewController.swift

@@ -336,10 +336,10 @@ extension DemoBaseViewController: UITableViewDelegate, UITableViewDataSource {
     
     func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
         if optionsTableView != nil {
-            return 40.0;
+            return 40.0
         }
         
-        return 44.0;
+        return 44.0
     }
     
     @available(iOS 2.0, *)
@@ -360,10 +360,8 @@ extension DemoBaseViewController: UITableViewDelegate, UITableViewDataSource {
     func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
         if optionsTableView != nil {
             tableView.deselectRow(at: indexPath, animated: true)
-            
             optionsTableView?.removeFromSuperview()
             self.optionsTableView = nil
-            
             self.optionTapped(self.options[indexPath.row])
         }