mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Groups list: Support dynamic fonts by enabling self-sizing table view cell, and use constraints to define the cell’s size.
vector-im/riot-meta#114
This commit is contained in:
@@ -83,6 +83,10 @@
|
||||
// Hide line separators of empty cells
|
||||
self.groupsTableView.tableFooterView = [[UIView alloc] init];
|
||||
|
||||
// Enable self sizing cells
|
||||
self.groupsTableView.rowHeight = UITableViewAutomaticDimension;
|
||||
self.groupsTableView.estimatedRowHeight = 74;
|
||||
|
||||
// Observe UIApplicationDidEnterBackgroundNotification to refresh bubbles when app leaves the foreground state.
|
||||
UIApplicationDidEnterBackgroundNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidEnterBackgroundNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user