diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java
index 2016e4a..31a5f0d 100644
--- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java
+++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java
@@ -188,7 +188,7 @@ as a part of the getExtras() bundle. Instead, it needs to be saved as an URI obj
}
else if (data.getHost().equals(validUris.get(i).getHost())) {
input = data.getPath();
- input =input.replace("/", "");
+ input = input.replace("/", "");
break;
}
}
@@ -200,7 +200,9 @@ else if (data.getHost().equals(validUris.get(i).getHost())) {
QQWing difficultyCheck;
GameInfoContainer container = new GameInfoContainer(0, GameDifficulty.Unspecified,
GameType.Unspecified, new int [boardSize], new int [boardSize], new boolean [boardSize][sectionSize]);
- container.setCustom(extras != null && extras.getBoolean("isCustom", false));
+ // always set custom sudokus as custom
+ // TODO: maybe introduce a setting in the settings page to let the user decide
+ container.setCustom(true);
try {
container.parseGameType("Default_" + sectionSize + "x" + sectionSize);
diff --git a/app/src/main/res/layout/list_entry_layout.xml b/app/src/main/res/layout/list_entry_layout.xml
index 23a94ed..585d6f6 100644
--- a/app/src/main/res/layout/list_entry_layout.xml
+++ b/app/src/main/res/layout/list_entry_layout.xml
@@ -1,5 +1,5 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
+ android:layout_height="wrap_content"
+ android:layout_marginStart="2dp"
+ android:layout_marginLeft="2dp"
+ android:clickable="false"
+ android:numStars="4"
+ android:rating="3"
+ app:layout_constraintBottom_toBottomOf="@+id/loadgame_listentry_custom_icon"
+ app:layout_constraintStart_toEndOf="@+id/loadgame_listentry_custom_icon"
+ app:layout_constraintTop_toTopOf="@+id/loadgame_listentry_custom_icon" />
-
+
-
+
-
+
-
\ No newline at end of file
+