소스 검색

Menu : more

Marino Faggiana 8 년 전
부모
커밋
41b193854e
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 7
      iOSClient/Main/CCMore.swift

+ 3 - 7
iOSClient/Main/CCMore.swift

@@ -97,16 +97,12 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource {
     }
     
     func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
-        
-        var height : CGFloat
-        
+                
         if (section == 0) {
-            height = 10
+            return 10
         } else {
-            height = 30
+            return 30
         }
-
-        return height
     }
     
     func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {