Commit 632255f2 authored by Erwan Croze's avatar Erwan Croze 👋🏻

'Enter' button on dialer now execute a click on call button

parent ce6e1578
......@@ -34,6 +34,11 @@ namespace Linphone.Views
this.InitializeComponent();
DataContext = this;
ContactsManager contactsManager = ContactsManager.Instance;
addressBox.KeyDown += (sender, args) => {
if (args.Key == Windows.System.VirtualKey.Enter) {
call_Click(null, null);
}
};
}
private int unreadMessageCount;
......@@ -82,10 +87,7 @@ namespace Linphone.Views
MissedCallText.Visibility = Visibility.Collapsed;
}
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs("MissedCallCount"));
}
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("MissedCallCount"));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment