Commit 3840dfdc08a7c997f7fc3811b855b835a568336d
1 parent
dcc8ad47
default url bug fixed
Showing
1 changed file
with
1 additions
and
1 deletions
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) { |