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:
Alex Hart
2021-08-17 16:15:09 -03:00
committed by GitHub
parent 0b37b0ee16
commit c65761a034
22 changed files with 662 additions and 117 deletions

View File

@@ -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);
}
}