mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Add objective C support to SwiftGen assets helpers (#5533)
* Add objective C support to SwiftGen assets helpers * Use dot notation in ObjC & fix minor issues Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
self.recentsTableView.tag = RecentsDataSourceModeRooms;
|
||||
|
||||
// Add the (+) button programmatically
|
||||
plusButtonImageView = [self vc_addFABWithImage:[UIImage imageNamed:@"rooms_floating_action"]
|
||||
plusButtonImageView = [self vc_addFABWithImage:AssetImages.roomsFloatingAction.image
|
||||
target:self
|
||||
action:@selector(onPlusButtonPressed)];
|
||||
}
|
||||
@@ -157,11 +157,11 @@
|
||||
{
|
||||
if (ThemeService.shared.isCurrentThemeDark)
|
||||
{
|
||||
return [UIImage imageNamed:@"rooms_empty_screen_artwork_dark"];
|
||||
return AssetImages.roomsEmptyScreenArtworkDark.image;
|
||||
}
|
||||
else
|
||||
{
|
||||
return [UIImage imageNamed:@"rooms_empty_screen_artwork"];
|
||||
return AssetImages.roomsEmptyScreenArtwork.image;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user