mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-13 13:47:47 +02:00
fix(core/ff_info_menu): hidden birthday
This commit is contained in:
@ -829,6 +829,7 @@
|
|||||||
"display_name": "Display Name",
|
"display_name": "Display Name",
|
||||||
"added_date": "Added Date",
|
"added_date": "Added Date",
|
||||||
"birthday": "Birthday : {month} {day}",
|
"birthday": "Birthday : {month} {day}",
|
||||||
|
"hidden_birthday": "Birthday : Hidden",
|
||||||
"friendship": "Friendship",
|
"friendship": "Friendship",
|
||||||
"add_source": "Add Source",
|
"add_source": "Add Source",
|
||||||
"snapchat_plus": "Snapchat Plus",
|
"snapchat_plus": "Snapchat Plus",
|
||||||
|
@ -88,7 +88,8 @@ class FriendFeedInfoMenu : AbstractMenu() {
|
|||||||
Calendar.LONG,
|
Calendar.LONG,
|
||||||
context.translation.loadedLocale
|
context.translation.loadedLocale
|
||||||
)?.let {
|
)?.let {
|
||||||
context.translation.format("profile_info.birthday",
|
if (profile.birthday == 0L) context.translation["profile_info.hidden_birthday"]
|
||||||
|
else context.translation.format("profile_info.birthday",
|
||||||
"month" to it,
|
"month" to it,
|
||||||
"day" to profile.birthday.toInt().toString())
|
"day" to profile.birthday.toInt().toString())
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user