mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
show ephemeral message menu item also if chat has already ephemeral messages enabled
This commit is contained in:
committed by
Alexander Krotov
parent
66b33bd7b1
commit
4d9f2980ad
@@ -444,7 +444,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
menu.findItem(R.id.menu_show_map).setVisible(false);
|
||||
}
|
||||
|
||||
if (Prefs.isEphemeralMessagesEnabled(this)) {
|
||||
if (Prefs.isEphemeralMessagesEnabled(this) || dcContext.getChatEphemeralTimer(chatId) != 0) {
|
||||
menu.findItem(R.id.menu_ephemeral_messages).setVisible(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user