minor changes on gitea to check forwarding to github

pull/1/head
DJh2o2 2022-02-25 15:20:03 +07:00
parent 721e83f8af
commit cf548a9c28
1 changed files with 16 additions and 16 deletions

@ -12,41 +12,41 @@ namespace Gremlin.MVVM
{ {
public class ShellViewModel : PropertyChangedBase public class ShellViewModel : PropertyChangedBase
{ {
private ContactViewModel _selectedContact; private ContactViewModel selectedContact;
private ContactViewModel _contactVM; private ContactViewModel contactVM;
private ObservableCollection<ContactViewModel> _contacts; private ObservableCollection<ContactViewModel> contacts;
private QuoteViewModel _quoteVM; private QuoteViewModel quoteVM;
private string _searchContact; private string searchContact;
public string SearchContact { public string SearchContact {
get => _searchContact; get => searchContact;
set { set {
_searchContact = value; searchContact = value;
NotifyOfPropertyChange(() => SearchContact); NotifyOfPropertyChange(() => SearchContact);
Contacts = GetContactsVM(_searchContact); Contacts = GetContactsVM(searchContact);
} }
} }
public ContactViewModel ContactVM { public ContactViewModel ContactVM {
get => _contactVM; get => contactVM;
set { set {
_contactVM = value; contactVM = value;
NotifyOfPropertyChange(() => ContactVM); NotifyOfPropertyChange(() => ContactVM);
} }
} }
public QuoteViewModel QuoteVM { public QuoteViewModel QuoteVM {
get => _quoteVM; get => quoteVM;
set { set {
_quoteVM = value; quoteVM = value;
NotifyOfPropertyChange(() => QuoteVM); NotifyOfPropertyChange(() => QuoteVM);
} }
} }
public ContactViewModel SelectedContact { public ContactViewModel SelectedContact {
get => _selectedContact; get => selectedContact;
set { set {
_selectedContact = value; selectedContact = value;
NotifyOfPropertyChange(() => SelectedContact); NotifyOfPropertyChange(() => SelectedContact);
QuoteVM.Recipient = value; QuoteVM.Recipient = value;
NotifyOfPropertyChange(() => QuoteVM.Recipient); NotifyOfPropertyChange(() => QuoteVM.Recipient);
@ -54,9 +54,9 @@ namespace Gremlin.MVVM
} }
public ObservableCollection<ContactViewModel> Contacts { public ObservableCollection<ContactViewModel> Contacts {
get => _contacts; get => contacts;
set { set {
_contacts = value; contacts = value;
NotifyOfPropertyChange(() => Contacts); NotifyOfPropertyChange(() => Contacts);
} }
} }