Add a language indicator to status (close #552)

This commit is contained in:
0xd9a 2025-08-20 02:08:14 +05:30
parent 6c225e2dbb
commit e6e7e7e435
2 changed files with 11 additions and 0 deletions

View file

@ -1380,6 +1380,10 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
} else {
holder.binding.app.setVisibility(View.GONE);
}
if (statusToDeal.language != null) {
holder.binding.language.setText(statusToDeal.language.toUpperCase());
holder.binding.language.setVisibility(View.VISIBLE);
} else holder.binding.language.setVisibility(View.VISIBLE);
} else {
holder.binding.app.setVisibility(View.GONE);

View file

@ -590,6 +590,13 @@
app:iconTint="?attr/colorControlNormal"
tools:text="10" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/language"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="12dp"
tools:text="EN" />
<View
android:layout_width="0dp"
android:layout_height="0dp"