diff --git a/src/com/upc/pbe/upcnews/MainActivity.java b/src/com/upc/pbe/upcnews/MainActivity.java index fed2ff7..76c0013 100644 --- a/src/com/upc/pbe/upcnews/MainActivity.java +++ b/src/com/upc/pbe/upcnews/MainActivity.java @@ -48,7 +48,7 @@ public class MainActivity extends Activity implements OnClickListener { public void updateURL() { - URLText.setText(((UpcApp)getApplication()).getPrefs().getString("server", null)); + URLText.setText(((UpcApp)getApplication()).getUrl()); } public boolean onCreateOptionsMenu(Menu menu) {