1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-11 20:19:29 +01:00

debug: getThemedDrawable failed for currentBackgroundDrawable

This commit is contained in:
luvletter2333 2022-07-27 18:18:52 +08:00
parent 0a5c733149
commit bca854c8af
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -16623,7 +16623,12 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
private Drawable getThemedDrawable(String key) {
Drawable drawable = resourcesProvider != null ? resourcesProvider.getDrawable(key) : null;
return drawable != null ? drawable : Theme.getThemeDrawable(key);
final Drawable ret = drawable != null ? drawable : Theme.getThemeDrawable(key);
if (ret == null) {
FileLog.e("getThemedDrawable failed with key:" + key);
FileLog.e(new Exception());
}
return ret;
}
private Paint getThemedPaint(String paintKey) {