Remove default address for signin
This commit is contained in:
parent
d0e9beef14
commit
fffa9b73b9
|
@ -77,6 +77,9 @@ public class PostMessageTask extends AsyncTask<String, Void, String> {
|
||||||
|
|
||||||
private FormBody.Builder addCategories(FormBody.Builder builder, String category) {
|
private FormBody.Builder addCategories(FormBody.Builder builder, String category) {
|
||||||
String[] categories = category.split("\\s+");
|
String[] categories = category.split("\\s+");
|
||||||
|
if (categories.length == 1 && categories[0].equals("")) {
|
||||||
|
return builder;
|
||||||
|
}
|
||||||
for (String cat : categories) {
|
for (String cat : categories) {
|
||||||
builder.add("category[]", cat);
|
builder.add("category[]", cat);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:inputType="textUri"
|
android:inputType="textUri"
|
||||||
android:text="https://peterstuifzand.nl/"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/textView" />
|
app:layout_constraintTop_toBottomOf="@+id/textView" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user