Commit 3840dfdc08a7c997f7fc3811b855b835a568336d

Authored by Imanol-Mikel Barba Sabariego
1 parent dcc8ad47

default url bug fixed

src/com/upc/pbe/upcnews/MainActivity.java
@@ -48,7 +48,7 @@ public class MainActivity extends Activity implements OnClickListener { @@ -48,7 +48,7 @@ public class MainActivity extends Activity implements OnClickListener {
48 48
49 public void updateURL() 49 public void updateURL()
50 { 50 {
51 - URLText.setText(((UpcApp)getApplication()).getPrefs().getString("server", null)); 51 + URLText.setText(((UpcApp)getApplication()).getUrl());
52 } 52 }
53 53
54 public boolean onCreateOptionsMenu(Menu menu) { 54 public boolean onCreateOptionsMenu(Menu menu) {