From 6e130f98f1003edeaa7a4ea58c47bf49e43dff58 Mon Sep 17 00:00:00 2001 From: lantzelot-swe <75668734+lantzelot-swe@users.noreply.github.com> Date: Mon, 14 Aug 2023 22:19:03 +0200 Subject: [PATCH] fix: show name for empty views --- src/main/java/se/lantz/model/data/GameView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/se/lantz/model/data/GameView.java b/src/main/java/se/lantz/model/data/GameView.java index e14adad..ca25e39 100644 --- a/src/main/java/se/lantz/model/data/GameView.java +++ b/src/main/java/se/lantz/model/data/GameView.java @@ -65,7 +65,7 @@ public class GameView implements Comparable @Override public String toString() { - String text = ""; + String text = name; if (gameCount > -1) { if (gameViewId != -1)