aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Infobox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn/Infobox.cs')
-rw-r--r--ShiftOS_TheReturn/Infobox.cs6
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);
}
}