mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 11:38:33 +00:00
Fix media send HUD consistency issue.
Only affects people who have force-enabled revealable messages and then gone back to a build that doesn't have it enabled.
This commit is contained in:
parent
ead6e6b2f3
commit
1a85a9cb31
@ -187,7 +187,9 @@ class MediaSendViewModel extends ViewModel {
|
||||
buttonState = (recipient != null) ? ButtonState.SEND : ButtonState.CONTINUE;
|
||||
|
||||
if (revealState == RevealState.GONE && revealSupported()) {
|
||||
revealState = TextSecurePreferences.isRevealableMessageEnabled(application) ? RevealState.ENABLED : RevealState.DISABLED;
|
||||
// TODO[reveal]
|
||||
// revealState = TextSecurePreferences.isRevealableMessageEnabled(application) ? RevealState.ENABLED : RevealState.DISABLED;
|
||||
revealState = RevealState.GONE;
|
||||
} else if (!revealSupported()) {
|
||||
revealState = RevealState.GONE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user