mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix several issues with multiforwarding.
* Better forwarding and animations. * Handle audio with text. * Increase max forwardable count to 32 * Onboarding dialog. * Send forth link previews. * Safety number support. * Fix slide behaviour.
This commit is contained in:
@@ -12,6 +12,7 @@ public class TooltipValues extends SignalStoreValues {
|
||||
private static final String BLUR_HUD_ICON = "tooltip.blur_hud_icon";
|
||||
private static final String GROUP_CALL_SPEAKER_VIEW = "tooltip.group_call_speaker_view";
|
||||
private static final String GROUP_CALL_TOOLTIP_DISPLAY_COUNT = "tooltip.group_call_tooltip_display_count";
|
||||
private static final String MULTI_FORWARD_DIALOG = "tooltip.multi.forward.dialog";
|
||||
|
||||
|
||||
TooltipValues(@NonNull KeyValueStore store) {
|
||||
@@ -20,6 +21,7 @@ public class TooltipValues extends SignalStoreValues {
|
||||
|
||||
@Override
|
||||
public void onFirstEverAppLaunch() {
|
||||
markMultiForwardDialogSeen();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -54,4 +56,12 @@ public class TooltipValues extends SignalStoreValues {
|
||||
public void markGroupCallingLobbyEntered() {
|
||||
putInteger(GROUP_CALL_TOOLTIP_DISPLAY_COUNT, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
public boolean showMultiForwardDialog() {
|
||||
return getBoolean(MULTI_FORWARD_DIALOG, true);
|
||||
}
|
||||
|
||||
public void markMultiForwardDialogSeen() {
|
||||
putBoolean(MULTI_FORWARD_DIALOG, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user