mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
[android] fix bug where onboarding is shown again when activity resumes
This commit is contained in:
@@ -229,11 +229,15 @@ public class ConversationViewModel extends AndroidViewModel {
|
||||
}
|
||||
}
|
||||
|
||||
@UiThread
|
||||
void onImageOnboardingSeen() {
|
||||
showImageOnboarding.setValue(false);
|
||||
onOnboardingSeen(SHOW_ONBOARDING_IMAGE);
|
||||
}
|
||||
|
||||
@UiThread
|
||||
void onIntroductionOnboardingSeen() {
|
||||
showIntroductionOnboarding.setValue(false);
|
||||
onOnboardingSeen(SHOW_ONBOARDING_INTRODUCTION);
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ public class TextSendController implements TextInputListener {
|
||||
LENGTH_SHORT).show();
|
||||
return false;
|
||||
}
|
||||
return ready && (canSendEmptyText() || !textInput.isEmpty());
|
||||
return ready && (canSendEmptyText() || !textIsEmpty);
|
||||
}
|
||||
|
||||
protected boolean canSendEmptyText() {
|
||||
|
||||
Reference in New Issue
Block a user