Show message while loading itempanel (#286)

* Show message while loading itempanel

* Move to ItemsGrid

* Add bookmark message

* ItemList

* Revert "Add bookmark message"

This reverts commit 030b5ed1ef.

* Item List

* Use Label

* clean
This commit is contained in:
miozune authored and GitHub committed 2022-08-31 10:43:22 +02:00
1 parent 748cfe3754
commit e93d23e444
6 files changed
+36

No files matched your search

@@ -73,6 +73,11 @@ public class ItemPanel extends PanelWidget {
super.drawSlotOutline(focused, slotIdx, rect);
}
}
@Override
public String getMessageOnEmpty() {
return ItemList.loadFinished ? null : NEIClientUtils.translate("itempanel.loading");
}
}
public ItemPanel() {