mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 21:24:16 +01:00
undo odd validity change i did without thinking about it
This commit is contained in:
parent
3b4178082a
commit
ddcf01d073
1 changed files with 2 additions and 3 deletions
|
|
@ -3,8 +3,6 @@
|
||||||
using CheapLoc;
|
using CheapLoc;
|
||||||
using Dalamud.Game.Text;
|
using Dalamud.Game.Text;
|
||||||
using Dalamud.Interface.Internal.Windows.Settings.Widgets;
|
using Dalamud.Interface.Internal.Windows.Settings.Widgets;
|
||||||
using Dalamud.Plugin.Internal.AutoUpdate;
|
|
||||||
|
|
||||||
namespace Dalamud.Interface.Internal.Windows.Settings.Tabs;
|
namespace Dalamud.Interface.Internal.Windows.Settings.Tabs;
|
||||||
|
|
||||||
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Internals")]
|
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Internals")]
|
||||||
|
|
@ -21,8 +19,9 @@ public class SettingsTabGeneral : SettingsTab
|
||||||
Loc.Localize("DalamudSettingsChannelHint", "Select the chat channel that is to be used for general Dalamud messages."),
|
Loc.Localize("DalamudSettingsChannelHint", "Select the chat channel that is to be used for general Dalamud messages."),
|
||||||
c => c.GeneralChatType,
|
c => c.GeneralChatType,
|
||||||
(v, c) => c.GeneralChatType = v,
|
(v, c) => c.GeneralChatType = v,
|
||||||
validity: (v) =>
|
warning: v =>
|
||||||
{
|
{
|
||||||
|
// TODO: Maybe actually implement UI for the validity check...
|
||||||
if (v == XivChatType.None)
|
if (v == XivChatType.None)
|
||||||
return Loc.Localize("DalamudSettingsChannelNone", "Do not pick \"None\".");
|
return Loc.Localize("DalamudSettingsChannelNone", "Do not pick \"None\".");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue