Skip to content

Commit

Permalink
Make fields non-static in UWP example.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 7c30fc4926c0efc46e942e66ac30085f9331d7d0
  • Loading branch information
levlam committed Sep 1, 2018
1 parent 523f4b9 commit 91365f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/uwp/app/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class MainPage : Page
{
public System.Collections.ObjectModel.ObservableCollection<string> Items { get; set; }

private static MyClientResultHandler _handler;
private MyClientResultHandler _handler;

public MainPage()
{
Expand All @@ -28,7 +28,7 @@ public MainPage()
_handler = new MyClientResultHandler(this);

Td.Log.SetFilePath(Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "log"));
Td.Log.SetVerbosityLevel(20);
Td.Log.SetVerbosityLevel(0);

System.Threading.Tasks.Task.Run(() =>
{
Expand Down Expand Up @@ -64,7 +64,7 @@ public void Print(String str)
});
}

private static Td.Client _client;
private Td.Client _client;

private void AcceptCommand(String command)
{
Expand Down

0 comments on commit 91365f2

Please sign in to comment.