mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Add tooltip to opt-out of bubbles.
This commit is contained in:
committed by
Cody Henthorne
parent
63c98e92f2
commit
b6f84dfa16
@@ -13,6 +13,7 @@ public class TooltipValues extends SignalStoreValues {
|
||||
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";
|
||||
private static final String BUBBLE_OPT_OUT = "tooltip.bubble.opt.out";
|
||||
|
||||
|
||||
TooltipValues(@NonNull KeyValueStore store) {
|
||||
@@ -64,4 +65,12 @@ public class TooltipValues extends SignalStoreValues {
|
||||
public void markMultiForwardDialogSeen() {
|
||||
putBoolean(MULTI_FORWARD_DIALOG, false);
|
||||
}
|
||||
|
||||
public boolean hasSeenBubbleOptOutTooltip() {
|
||||
return getBoolean(BUBBLE_OPT_OUT, false);
|
||||
}
|
||||
|
||||
public void markBubbleOptOutTooltipSeen() {
|
||||
putBoolean(BUBBLE_OPT_OUT, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user