mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 14:24:32 +00:00
22 lines
459 B
C#
22 lines
459 B
C#
using MaterialDesignThemes.Wpf;
|
|
|
|
namespace NebulaAuth.View.Dialogs;
|
|
|
|
public partial class TextFieldDialog
|
|
{
|
|
public TextFieldDialog()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public TextFieldDialog(string? title, string? msg)
|
|
{
|
|
InitializeComponent();
|
|
|
|
if (!string.IsNullOrWhiteSpace(title))
|
|
TitleHeader.Title = title;
|
|
|
|
if (!string.IsNullOrEmpty(msg))
|
|
HintAssist.SetHint(TextField, msg);
|
|
}
|
|
} |