removed test code for username reactivitiy
This commit is contained in:
@@ -44,9 +44,11 @@ namespace PolyChat
|
||||
Serve();
|
||||
|
||||
// test
|
||||
/*
|
||||
UIController.OnIncomingConnection("1.1.1.1");
|
||||
UIController.OnIncomingConnection("1.2.3.4");
|
||||
UIController.OnIncomingConnection("1.2.4.8");
|
||||
*/
|
||||
}
|
||||
|
||||
public void Connect(string ip)
|
||||
|
||||
@@ -81,6 +81,7 @@ namespace PolyChat
|
||||
|
||||
public async void OnOpenNewChatDialog(object sender = null, RoutedEventArgs e = null)
|
||||
{
|
||||
/*
|
||||
OnIncomingMessage(
|
||||
"1.1.1.1",
|
||||
new JObject(
|
||||
@@ -89,6 +90,7 @@ namespace PolyChat
|
||||
).ToString(),
|
||||
DateTime.Now
|
||||
);
|
||||
*/
|
||||
NewChatDialog dialog = new NewChatDialog();
|
||||
var result = await SafelyOpenDialog(dialog);
|
||||
if (result == ContentDialogResult.Primary)
|
||||
|
||||
Reference in New Issue
Block a user