mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Add Group Call speaker view hint.
This commit is contained in:
@@ -4,7 +4,8 @@ import androidx.annotation.NonNull;
|
||||
|
||||
public class TooltipValues extends SignalStoreValues {
|
||||
|
||||
private static final String BLUR_HUD_ICON = "tooltip.blur_hud_icon";
|
||||
private static final String BLUR_HUD_ICON = "tooltip.blur_hud_icon";
|
||||
private static final String GROUP_CALL_SPEAKER_VIEW = "tooltip.group_call_speaker_view";
|
||||
|
||||
TooltipValues(@NonNull KeyValueStore store) {
|
||||
super(store);
|
||||
@@ -21,4 +22,12 @@ public class TooltipValues extends SignalStoreValues {
|
||||
public void markBlurHudIconTooltipSeen() {
|
||||
putBoolean(BLUR_HUD_ICON, true);
|
||||
}
|
||||
|
||||
public boolean hasSeenGroupCallSpeakerView() {
|
||||
return getBoolean(GROUP_CALL_SPEAKER_VIEW, false);
|
||||
}
|
||||
|
||||
public void markGroupCallSpeakerViewSeen() {
|
||||
putBoolean(GROUP_CALL_SPEAKER_VIEW, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user