diff options
| author | Michael <[email protected]> | 2017-04-28 20:01:04 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-28 20:01:04 -0400 |
| commit | 712d38a2be53b415c2635b86e1f539faec0ace19 (patch) | |
| tree | f600fea9f8f98a715216a98100f047846b693faa /ShiftOS_TheReturn/Infobox.cs | |
| parent | e1b3ecc57d42a961c780114e4e582a875e8f3b96 (diff) | |
| download | shiftos_thereturn-712d38a2be53b415c2635b86e1f539faec0ace19.tar.gz shiftos_thereturn-712d38a2be53b415c2635b86e1f539faec0ace19.tar.bz2 shiftos_thereturn-712d38a2be53b415c2635b86e1f539faec0ace19.zip | |
Final Beta 2.3 adjustments.
Diffstat (limited to 'ShiftOS_TheReturn/Infobox.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Infobox.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ShiftOS_TheReturn/Infobox.cs b/ShiftOS_TheReturn/Infobox.cs index 5900bc4..62abcb7 100644 --- a/ShiftOS_TheReturn/Infobox.cs +++ b/ShiftOS_TheReturn/Infobox.cs @@ -65,13 +65,13 @@ namespace ShiftOS.Engine }); } - public static void PromptText(string title, string message, Action<string> callback) + public static void PromptText(string title, string message, Action<string> callback, bool isPassword = false) { title = Localization.Parse(title); message = Localization.Parse(message); Desktop.InvokeOnWorkerThread(() => { - _infobox.PromptText(title, message, callback); + _infobox.PromptText(title, message, callback, isPassword); }); } @@ -99,7 +99,7 @@ namespace ShiftOS.Engine public interface IInfobox { void Open(string title, string msg, Action callback = null); - void PromptText(string title, string message, Action<string> callback); + void PromptText(string title, string message, Action<string> callback, bool isPassword); void PromptYesNo(string title, string message, Action<bool> callback); } } |
