Fixes an issue with the API for remote follows

This commit is contained in:
tom79 2017-08-22 18:24:41 +02:00
parent a45cc626c2
commit 9f2400e3be
3 changed files with 3 additions and 1 deletions

View File

@ -816,7 +816,7 @@ public class API {
action = String.format("/accounts/%s/follow", targetedId);
break;
case REMOTE_FOLLOW:
action = "/accounts/follows";
action = "/follows";
params = new RequestParams();
params.put("uri", targetedId);
break;

View File

@ -17,6 +17,7 @@
-->
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/fab_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin"

View File

@ -21,6 +21,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/tools"
style="?attr/cardStyle"
android:layout_marginTop="10dp"
card_view:cardPreventCornerOverlap="true"
app:cardUseCompatPadding="true">