mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
UX Rework: Add home page
- Add edition mode support. https://github.com/vector-im/riot-meta/issues/75
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
|
||||
@implementation TableViewCellWithCollectionView
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
self.editionViewHeightConstraint.constant = 0;
|
||||
}
|
||||
|
||||
- (void)prepareForReuse
|
||||
{
|
||||
[super prepareForReuse];
|
||||
@@ -25,6 +32,11 @@
|
||||
self.collectionView.tag = -1;
|
||||
self.collectionView.dataSource = nil;
|
||||
self.collectionView.delegate = nil;
|
||||
|
||||
self.editionViewHeightConstraint.constant = 0;
|
||||
self.editionView.hidden = YES;
|
||||
|
||||
self.collectionView.scrollEnabled = YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user