mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
SP3.1: Update room settings for Spaces element-ios#5231
- Changed the Room Settings screen according to the new design - Implemented the room access flow - Added room upgrade support - Implemented the room suggestion screen
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
// Check whether a nib file is available
|
||||
NSBundle *mainBundle = [NSBundle mxk_bundleForClass:self.class];
|
||||
|
||||
NSString *path = [mainBundle pathForResource:NSStringFromClass([self class]) ofType:@"nib"];
|
||||
NSString *path = [mainBundle pathForResource:[self className] ofType:@"nib"];
|
||||
if (path)
|
||||
{
|
||||
return [UINib nibWithNibName:NSStringFromClass([self class]) bundle:mainBundle];
|
||||
return [UINib nibWithNibName:[self className] bundle:mainBundle];
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
@@ -37,6 +37,11 @@
|
||||
return NSStringFromClass([self class]);
|
||||
}
|
||||
|
||||
+ (NSString*)className
|
||||
{
|
||||
return [NSStringFromClass([self class]) componentsSeparatedByString:@"."].lastObject;
|
||||
}
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
Reference in New Issue
Block a user