mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +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:
@@ -844,11 +844,11 @@
|
||||
UIImage *chevron;
|
||||
if (shrinkedSectionsBitMask & sectionBitwise)
|
||||
{
|
||||
chevron = [UIImage imageNamed:@"disclosure_icon"];
|
||||
chevron = AssetImages.disclosureIcon.image;
|
||||
}
|
||||
else
|
||||
{
|
||||
chevron = [UIImage imageNamed:@"shrink_icon"];
|
||||
chevron = AssetImages.shrinkIcon.image;
|
||||
}
|
||||
UIImageView *chevronView = [[UIImageView alloc] initWithImage:chevron];
|
||||
chevronView.tintColor = ThemeService.shared.theme.textSecondaryColor;
|
||||
@@ -892,7 +892,7 @@
|
||||
checkboxLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
|
||||
// Set the right value of the tick box
|
||||
localContactsCheckbox.image = hideNonMatrixEnabledContacts ? [UIImage imageNamed:@"selection_tick"] : [UIImage imageNamed:@"selection_untick"];
|
||||
localContactsCheckbox.image = hideNonMatrixEnabledContacts ? AssetImages.selectionTick.image : AssetImages.selectionUntick.image;
|
||||
localContactsCheckbox.tintColor = ThemeService.shared.theme.tintColor;
|
||||
|
||||
// Add the check box container
|
||||
|
||||
Reference in New Issue
Block a user