Remove GIFs from attachment keyboard.

This commit is contained in:
Cody Henthorne
2021-06-03 13:05:38 -04:00
committed by GitHub
parent a3a4b10f83
commit 84e27e7bff
7 changed files with 33 additions and 15 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 GIFS_HAVE_MOVED = "tooltip.gifs_have_moved";
TooltipValues(@NonNull KeyValueStore store) {
@@ -54,4 +55,12 @@ public class TooltipValues extends SignalStoreValues {
public void markGroupCallingLobbyEntered() {
putInteger(GROUP_CALL_TOOLTIP_DISPLAY_COUNT, Integer.MAX_VALUE);
}
public boolean hasSeenGifsHaveMoved() {
return getBoolean(GIFS_HAVE_MOVED, false);
}
public void markGifsHaveMovedSeen() {
putBoolean(GIFS_HAVE_MOVED, true);
}
}