Fix an issue with cw
This commit is contained in:
parent
8024bba7b0
commit
ff52e4f8c7
|
@ -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;
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue