mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
27 lines
635 B
C#
27 lines
635 B
C#
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using NebulaAuth.Model;
|
|
using NebulaAuth.Model.Entities;
|
|
|
|
namespace NebulaAuth.ViewModel.Other;
|
|
|
|
public partial class LoginAgainVM : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
[NotifyPropertyChangedFor(nameof(IsFormValid))]
|
|
private string _password = null!;
|
|
|
|
[ObservableProperty]
|
|
private bool _savePassword;
|
|
|
|
[ObservableProperty]
|
|
private string _userName = null!;
|
|
|
|
|
|
public bool IsFormValid => !string.IsNullOrWhiteSpace(Password);
|
|
|
|
public LoginAgainVM()
|
|
{ }
|
|
} |