Remove default address for signin

This commit is contained in:
Peter Stuifzand 2018-02-24 21:46:49 +01:00
parent d0e9beef14
commit fffa9b73b9
2 changed files with 3 additions and 1 deletions

View File

@ -77,6 +77,9 @@ public class PostMessageTask extends AsyncTask<String, Void, String> {
private FormBody.Builder addCategories(FormBody.Builder builder, String category) {
String[] categories = category.split("\\s+");
if (categories.length == 1 && categories[0].equals("")) {
return builder;
}
for (String cat : categories) {
builder.add("category[]", cat);
}

View File

@ -27,7 +27,6 @@
android:layout_marginTop="8dp"
android:ems="10"
android:inputType="textUri"
android:text="https://peterstuifzand.nl/"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView" />