mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix typing experience upgrade version.
Because of the production hotfix, we need to up this version to be higher than what is currently in prod.
This commit is contained in:
parent
5a53268534
commit
dd55fe90bc
@ -73,7 +73,7 @@ public class ExperienceUpgradeActivity extends BaseActionBarActivity implements
|
|||||||
R.string.experience_upgrade_preference_fragment__optionally_see_and_share_when_messages_have_been_read,
|
R.string.experience_upgrade_preference_fragment__optionally_see_and_share_when_messages_have_been_read,
|
||||||
null,
|
null,
|
||||||
false),
|
false),
|
||||||
TYPING_INDICATORS(435,
|
TYPING_INDICATORS(432,
|
||||||
new IntroPage(0xFF2090EA,
|
new IntroPage(0xFF2090EA,
|
||||||
TypingIndicatorIntroFragment.newInstance()),
|
TypingIndicatorIntroFragment.newInstance()),
|
||||||
R.string.ExperienceUpgradeActivity_introducing_typing_indicators,
|
R.string.ExperienceUpgradeActivity_introducing_typing_indicators,
|
||||||
|
@ -51,7 +51,6 @@ public class TypingIndicatorIntroFragment extends Fragment {
|
|||||||
|
|
||||||
((TypingIndicatorView) view.findViewById(R.id.typing_indicator)).startAnimation();
|
((TypingIndicatorView) view.findViewById(R.id.typing_indicator)).startAnimation();
|
||||||
|
|
||||||
|
|
||||||
yesButton.setOnClickListener(v -> onButtonClicked(true));
|
yesButton.setOnClickListener(v -> onButtonClicked(true));
|
||||||
noButton.setOnClickListener(v -> onButtonClicked(false));
|
noButton.setOnClickListener(v -> onButtonClicked(false));
|
||||||
|
|
||||||
@ -61,11 +60,11 @@ public class TypingIndicatorIntroFragment extends Fragment {
|
|||||||
private void onButtonClicked(boolean typingEnabled) {
|
private void onButtonClicked(boolean typingEnabled) {
|
||||||
TextSecurePreferences.setTypingIndicatorsEnabled(getContext(), typingEnabled);
|
TextSecurePreferences.setTypingIndicatorsEnabled(getContext(), typingEnabled);
|
||||||
ApplicationContext.getInstance(requireContext())
|
ApplicationContext.getInstance(requireContext())
|
||||||
.getJobManager()
|
.getJobManager()
|
||||||
.add(new MultiDeviceConfigurationUpdateJob(getContext(),
|
.add(new MultiDeviceConfigurationUpdateJob(getContext(),
|
||||||
TextSecurePreferences.isReadReceiptsEnabled(requireContext()),
|
TextSecurePreferences.isReadReceiptsEnabled(requireContext()),
|
||||||
typingEnabled,
|
typingEnabled,
|
||||||
TextSecurePreferences.isShowUnidentifiedDeliveryIndicatorsEnabled(getContext())));
|
TextSecurePreferences.isShowUnidentifiedDeliveryIndicatorsEnabled(getContext())));
|
||||||
|
|
||||||
controller.onFinished();
|
controller.onFinished();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user