Display translate icon only when language is different
This commit is contained in:
parent
d7a2a6b855
commit
611c22a5c8
|
@ -630,7 +630,11 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
holder.binding.actionButtonBookmark.setVisibility(View.GONE);
|
||||
}
|
||||
if (displayTranslate) {
|
||||
if (statusToDeal.language != null && statusToDeal.language.trim().length() > 0 && statusToDeal.language.equalsIgnoreCase(MyTransL.getLocale())) {
|
||||
holder.binding.actionButtonTranslate.setVisibility(View.GONE);
|
||||
} else {
|
||||
holder.binding.actionButtonTranslate.setVisibility(View.VISIBLE);
|
||||
}
|
||||
} else {
|
||||
holder.binding.actionButtonTranslate.setVisibility(View.GONE);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
Added:
|
||||
- Post random quotes
|
||||
|
||||
Changed:
|
||||
- Display translate button only when language is different
|
||||
|
||||
Fixed:
|
||||
- Behavior with cw toggle
|
||||
- Truncated gimini links
|
Loading…
Reference in New Issue