Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #163 from owncloud/OC-4806-Empty-message
Browse files Browse the repository at this point in the history
Oc 4806 empty message
  • Loading branch information
javiergonzper committed Sep 12, 2014
2 parents 6485759 + 74960ee commit d02e2e3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Owncloud iOs Client/Utils/UtilsTableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ + (CGFloat) getUITableViewHeightForSingleRowByNavigationBatHeight:(CGFloat) navi
CGFloat tableViewHeight = 0.0;
if (!IS_IPHONE) {

if (IS_IOS7) {
if (IS_IOS7 || IS_IOS8) {

if (IS_PORTRAIT) {
tableViewHeight = k_tableViewHeight_portrait;
Expand All @@ -56,9 +56,17 @@ + (CGFloat) getUITableViewHeightForSingleRowByNavigationBatHeight:(CGFloat) navi
}
} else {
tableViewHeight = tableViewHeightForIphone;

if (IS_IOS7) {
height = tableViewHeight - tabBarControllerHeight - navigationBarHeight - k_status_bar_height;
} else {
height = tableViewHeight- tabBarControllerHeight - navigationBarHeight - k_status_bar_height;
}else if (IS_IOS8){

if (IS_PORTRAIT) {
height = tableViewHeight- tabBarControllerHeight - navigationBarHeight - k_status_bar_height;
}else{
height = tableViewHeight- tabBarControllerHeight - navigationBarHeight;
}
}else{
height = tableViewHeight;
}
}
Expand Down

0 comments on commit d02e2e3

Please sign in to comment.