Disable info display by default until internet check works

This commit is contained in:
TwistedUmbrella 2014-05-15 09:31:53 -04:00 committed by ptitSeb
parent 734db8a743
commit 4058ecc737
2 changed files with 2 additions and 2 deletions

View File

@ -290,7 +290,7 @@ public class FileBrowser extends Fragment {
final View childview = parentActivity.getLayoutInflater().inflate( final View childview = parentActivity.getLayoutInflater().inflate(
R.layout.app_list_item, null, false); R.layout.app_list_item, null, false);
final boolean webInfo = mPrefs.getBoolean(Config.pref_gamedetails, true); final boolean webInfo = mPrefs.getBoolean(Config.pref_gamedetails, false);
final XMLParser xmlParser = new XMLParser(game, index, webInfo); final XMLParser xmlParser = new XMLParser(game, index, webInfo);
xmlParser.setViewParent(parentActivity, childview); xmlParser.setViewParent(parentActivity, childview);

View File

@ -113,7 +113,7 @@ public class OptionsFragment extends Fragment {
}; };
Switch details_opt = (Switch) getView().findViewById( Switch details_opt = (Switch) getView().findViewById(
R.id.details_option); R.id.details_option);
details_opt.setChecked(mPrefs.getBoolean(Config.pref_gamedetails, true)); details_opt.setChecked(mPrefs.getBoolean(Config.pref_gamedetails, false));
details_opt.setOnCheckedChangeListener(details_options); details_opt.setOnCheckedChangeListener(details_options);
gameBrowse = (Button) getView().findViewById(R.id.browse_game_path); gameBrowse = (Button) getView().findViewById(R.id.browse_game_path);