Check if ehTags is initialized

This commit is contained in:
FooIbar authored and tarsin committed 2023-01-03 08:56:30 +08:00
1 parent 23acdb6492
commit e291bd58a8
1 file changed
+1 -1
@@ -906,7 +906,7 @@ public class GalleryDetailScene extends CollapsingToolbarScene implements View.O
String tagStr = tg.getTagAt(j);
String readableTag = null;
if (ehTags != null) {
if (ehTags != null && ehTags.isInitialized()) {
readableTag = ehTags.getTranslation(prefix, tagStr);
}