Fix an issue with cw

This commit is contained in:
tom79 2019-06-16 17:59:24 +02:00
parent 8024bba7b0
commit ff52e4f8c7
3 changed files with 7 additions and 1 deletions

View File

@ -3357,7 +3357,11 @@ public class Helper {
int i=1; int i=1;
ArrayList<String> reply = new ArrayList<>(); ArrayList<String> reply = new ArrayList<>();
for(String newContent : splitToot){ for(String newContent : splitToot){
reply.add((i-1), newContent + " - " + i + "/" + splitToot.size()); if( splitToot.size() > 1 ) {
reply.add((i - 1), newContent + " - " + i + "/" + splitToot.size());
}else{
reply.add((i - 1), newContent);
}
i++; i++;
} }
return reply; return reply;

View File

@ -39,6 +39,7 @@
android:visibility="gone" /> android:visibility="gone" />
<ScrollView <ScrollView
android:layout_below="@+id/toot_cw_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_above="@+id/bottom_bar_tooting" android:layout_above="@+id/bottom_bar_tooting"

View File

@ -39,6 +39,7 @@
android:visibility="gone" /> android:visibility="gone" />
<ScrollView <ScrollView
android:layout_below="@+id/toot_cw_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_above="@+id/bottom_bar_tooting" android:layout_above="@+id/bottom_bar_tooting"