Fixed unlinked refresh button for the server connection check
authorDavid A. Velasco <dvelasco@solidgear.es>
Tue, 14 May 2013 11:39:09 +0000 (13:39 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Tue, 14 May 2013 11:39:09 +0000 (13:39 +0200)
res/layout/account_setup.xml
src/com/owncloud/android/authentication/AuthenticatorActivity.java

index 35449cd..2258304 100644 (file)
@@ -65,6 +65,7 @@
                 android:layout_height="wrap_content"\r
                 android:layout_gravity="right|center_vertical"\r
                 android:src="@drawable/ic_action_refresh_black"\r
                 android:layout_height="wrap_content"\r
                 android:layout_gravity="right|center_vertical"\r
                 android:src="@drawable/ic_action_refresh_black"\r
+               android:onClick="onRefreshClick"\r
                 android:visibility="invisible" />\r
         </FrameLayout>\r
 \r
                 android:visibility="invisible" />\r
         </FrameLayout>\r
 \r
index dd3b4a0..ca2c1a8 100644 (file)
@@ -1006,7 +1006,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
      * @param view      Refresh 'button'\r
      */\r
     public void onRefreshClick(View view) {\r
      * @param view      Refresh 'button'\r
      */\r
     public void onRefreshClick(View view) {\r
-        onFocusChange(mRefreshButton, false);\r
+        onFocusChange(mHostUrlInput, false);\r
     }\r
     \r
     \r
     }\r
     \r
     \r