Show empty folder names

This commit is contained in:
M66B 2018-12-27 17:35:41 +00:00
parent f22bdd4e80
commit f84d217715
2 changed files with 2 additions and 3 deletions

View File

@ -1192,7 +1192,7 @@ public class FragmentAccount extends FragmentEx {
EntityFolder.sort(getContext(), folders); EntityFolder.sort(getContext(), folders);
EntityFolder none = new EntityFolder(); EntityFolder none = new EntityFolder();
none.name = ""; none.name = "-";
folders.add(0, none); folders.add(0, none);
adapter.clear(); adapter.clear();

View File

@ -46,7 +46,6 @@ import android.widget.ImageButton;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.ScrollView; import android.widget.ScrollView;
import android.widget.Spinner; import android.widget.Spinner;
import android.widget.TextView;
import com.android.colorpicker.ColorPickerDialog; import com.android.colorpicker.ColorPickerDialog;
import com.android.colorpicker.ColorPickerSwatch; import com.android.colorpicker.ColorPickerSwatch;
@ -877,7 +876,7 @@ public class FragmentIdentity extends FragmentEx {
@Override @Override
protected void onLoaded(Bundle args, IdentityFolders result) { protected void onLoaded(Bundle args, IdentityFolders result) {
EntityFolder none = new EntityFolder(); EntityFolder none = new EntityFolder();
none.name = ""; none.name = "-";
result.folders.add(0, none); result.folders.add(0, none);
adapter.clear(); adapter.clear();