linphone-iphone icon indicating copy to clipboard operation
linphone-iphone copied to clipboard

Annoying CUICatalog: Invalid asset name supplied: (null)

Open Daniele-Tentoni opened this issue 3 years ago • 0 comments

Since InAppSettingsKit code is directly imported inside the code base of the application, many useful improvements to the library are not automatically imported and solved. I found very annoying the titled warning in console so I've looked for a solution in the main repo and found this fix:

NSString *imageName = [_specifierDict objectForKey:kIASKCellImage];
if( imageName.length == 0 )
    return nil;
    
return [UIImage imageNamed:imageName];

instead of your old code:

return [UIImage imageNamed:[_specifierDict objectForKey:kIASKCellImage]];

I have the fix code already working in my fork of the repository. Can I open a new pull request?

Daniele-Tentoni avatar Nov 18 '21 10:11 Daniele-Tentoni