Dr0ptp4kt has submitted this change and it was merged.
Change subject: Fix for iPad search result thumbnail height scale factor.
......................................................................
Fix for iPad search result thumbnail height scale factor.
Change-Id: I5b96cfe200b51cca5f7d442cb7f5aeba3c7aec42
---
M wikipedia/View Controllers/SearchResults/SearchResultsController.m
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Dr0ptp4kt: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/wikipedia/View Controllers/SearchResults/SearchResultsController.m
b/wikipedia/View Controllers/SearchResults/SearchResultsController.m
index a04ca33..61294e2 100644
--- a/wikipedia/View Controllers/SearchResults/SearchResultsController.m
+++ b/wikipedia/View Controllers/SearchResults/SearchResultsController.m
@@ -607,7 +607,7 @@
- (CGFloat)tableView:(UITableView*)tableView
heightForRowAtIndexPath:(NSIndexPath*)indexPath {
if ([self.searchResults[indexPath.row][@"attributedText"] length] <
kWMFMaxStringLength) {
- return kWMFDefaultCellHeight;
+ return floor(kWMFDefaultCellHeight * MENUS_SCALE_MULTIPLIER);
}
// Update the sizing cell with any data which could change the cell height.
--
To view, visit https://gerrit.wikimedia.org/r/197753
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5b96cfe200b51cca5f7d442cb7f5aeba3c7aec42
Gerrit-PatchSet: 2
Gerrit-Project: apps/ios/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Mhurd <[email protected]>
Gerrit-Reviewer: Dr0ptp4kt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits