mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Add a QR code link and tooltip in the profile settings.
This commit is contained in:
@@ -14,6 +14,7 @@ public class TooltipValues extends SignalStoreValues {
|
||||
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";
|
||||
private static final String PROFILE_SETTINGS_QR_CODE = "tooltip.profile_settings_qr_code";
|
||||
|
||||
|
||||
TooltipValues(@NonNull KeyValueStore store) {
|
||||
@@ -73,4 +74,12 @@ public class TooltipValues extends SignalStoreValues {
|
||||
public void markBubbleOptOutTooltipSeen() {
|
||||
putBoolean(BUBBLE_OPT_OUT, true);
|
||||
}
|
||||
|
||||
public boolean showProfileSettingsQrCodeTooltop() {
|
||||
return getBoolean(PROFILE_SETTINGS_QR_CODE, true);
|
||||
}
|
||||
|
||||
public void markProfileSettingsQrCodeTooltipSeen() {
|
||||
putBoolean(PROFILE_SETTINGS_QR_CODE, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user