Commit 4175e3e8 authored by TwistedUmbrella's avatar TwistedUmbrella
Browse files

Allow booting to the BIOS even when no games are found

parent 42dd530e
......@@ -208,14 +208,14 @@ public class FileBrowser extends Fragment {
@Override
protected void onPostExecute(List<File> games) {
if (games != null && !games.isEmpty()) {
final LinearLayout list = (LinearLayout) parentActivity
.findViewById(R.id.game_list);
list.removeAllViews();
final LinearLayout list = (LinearLayout) parentActivity
.findViewById(R.id.game_list);
list.removeAllViews();
String heading = parentActivity
.getString(R.string.games_listing);
createListHeader(heading, list, true);
String heading = parentActivity
.getString(R.string.games_listing);
createListHeader(heading, list, true);
if (games != null && !games.isEmpty()) {
for (int i = 0; i < games.size(); i++) {
createListItem(list, games.get(i));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment