Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 1f698e0

Browse files
authored
show post language in metadata (#4127)
closes #3096 <img src="https://github.com/tuskyapp/Tusky/assets/10157047/417c55a9-168b-4ada-9636-de6314698def" width="320">
1 parent 0698333 commit 1f698e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ public void onClick(@NonNull View view) {
9595
}
9696
}
9797

98+
String language = status.getLanguage();
99+
100+
if (language != null) {
101+
sb.append(metadataJoiner);
102+
sb.append(language.toUpperCase());
103+
}
104+
98105
Status.Application app = status.getApplication();
99106

100107
if (app != null) {

0 commit comments

Comments
 (0)