mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Move switch camera button to self pip.
This commit is contained in:
@@ -15,7 +15,7 @@ public class TooltipValues extends SignalStoreValues {
|
||||
private static final String MULTI_FORWARD_DIALOG = "tooltip.multi.forward.dialog";
|
||||
private static final String BUBBLE_OPT_OUT = "tooltip.bubble.opt.out";
|
||||
private static final String PROFILE_SETTINGS_QR_CODE = "tooltip.profile_settings_qr_code";
|
||||
|
||||
private static final String CALLING_SWITCH_CAMERA = "tooltip.calling.switch_camera";
|
||||
|
||||
TooltipValues(@NonNull KeyValueStore store) {
|
||||
super(store);
|
||||
@@ -82,4 +82,12 @@ public class TooltipValues extends SignalStoreValues {
|
||||
public void markProfileSettingsQrCodeTooltipSeen() {
|
||||
putBoolean(PROFILE_SETTINGS_QR_CODE, false);
|
||||
}
|
||||
|
||||
public boolean showCallingSwitchCameraTooltip() {
|
||||
return getBoolean(CALLING_SWITCH_CAMERA, true);
|
||||
}
|
||||
|
||||
public void markCallingSwitchCameraTooltipSeen() {
|
||||
putBoolean(CALLING_SWITCH_CAMERA, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user