Skip to content

Commit

Permalink
Text for empty screenshot list; Echo fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
worldwidepixel committed Dec 2, 2024
1 parent d9977d9 commit 9c60290
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ public ScreenshotListWidget(MinecraftClient client, int width, int height, int y
this.clearEntries();
entries.sort(Comparator.comparingLong(ScreenshotEntry::lastModified).reversed());
entries.forEach(this::addEntry);

if (entries.isEmpty()) {
this.addEntry(new EmptyEntry(client));
}
});
}

Expand Down

0 comments on commit 9c60290

Please sign in to comment.