Don't show reminder view on quick reply

Fixes #4524
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-11-19 11:43:17 -08:00
parent ba4ebed59b
commit 945636ac5c
2 changed files with 8 additions and 2 deletions

View File

@ -176,7 +176,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
private InputAwareLayout container;
private View composePanel;
private View composeBubble;
private ReminderView reminderView;
protected ReminderView reminderView;
private AttachmentTypeSelector attachmentTypeSelector;
private AttachmentManager attachmentManager;
@ -806,7 +806,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
updateInviteReminder();
}
private void updateInviteReminder() {
protected void updateInviteReminder() {
if (TextSecurePreferences.isPushRegistered(this) &&
!isSecureText &&
recipients.isSingleRecipient() &&

View File

@ -12,6 +12,7 @@ import android.view.Gravity;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.WindowManager;
import org.thoughtcrime.securesms.crypto.MasterSecret;
@ -118,4 +119,9 @@ public class ConversationPopupActivity extends ConversationActivity {
super.sendComplete(threadId);
finish();
}
@Override
protected void updateInviteReminder() {
reminderView.setVisibility(View.GONE);
}
}