U.applyLabelColor(label, holder.text1);
} else {
holder.text1.setText(context.getString(R.string.create_label_titik3));
}
}
<BUG>holder.itemView.setOnClickListener(v -> {
final int which = holder.getAdapterPosition();</BUG>
if (which == 0) { // new label
LabelEditorDialog.show(context, "", context.getString(R.string.create_label_title), title -> {
final Label newLabel = S.getDb().insertLabel(title, null);

U.applyLabelColor(label, holder.text1);
} else {
holder.text1.setText(context.getString(R.string.create_label_titik3));
}
}
holder.itemView.setOnClickListener(v -> {
dismissDialog();
final int which = holder.getAdapterPosition();
if (which == 0) { // new label
LabelEditorDialog.show(context, "", context.getString(R.string.create_label_title), title -> {
final Label newLabel = S.getDb().insertLabel(title, null);
