optional action button toggle for pair request (default on)
This commit is contained in:
@@ -4085,6 +4085,22 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
||||
ImGui.TreePop();
|
||||
}
|
||||
|
||||
if (_uiShared.MediumTreeNode("Pair Request Notifications", UIColors.Get("PairBlue")))
|
||||
{
|
||||
var showPairRequestActions = _configService.Current.ShowPairRequestNotificationActions;
|
||||
if (ImGui.Checkbox("Show action buttons on pair requests", ref showPairRequestActions))
|
||||
{
|
||||
_configService.Current.ShowPairRequestNotificationActions = showPairRequestActions;
|
||||
_configService.Save();
|
||||
}
|
||||
|
||||
_uiShared.DrawHelpText(
|
||||
"When you receive a pair request, show Accept/Decline buttons in the notification.");
|
||||
|
||||
_uiShared.ColoredSeparator(UIColors.Get("LightlessPurple"), 1.5f);
|
||||
ImGui.TreePop();
|
||||
}
|
||||
|
||||
if (_uiShared.MediumTreeNode("Performance Notifications", UIColors.Get("LightlessOrange")))
|
||||
{
|
||||
var showPerformanceActions = _configService.Current.ShowPerformanceNotificationActions;
|
||||
|
||||
Reference in New Issue
Block a user