Minor UWP example improvement.
GitOrigin-RevId: d4b911b02877b7c911d360daa384c029cc5a0cf3
This commit is contained in:
parent
cb165adf7c
commit
d125e11c58
@ -27,11 +27,13 @@ namespace TdApp
|
||||
Items = new System.Collections.ObjectModel.ObservableCollection<string>();
|
||||
_handler = new MyClientResultHandler(this);
|
||||
|
||||
Td.Log.SetFilePath(Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "log"));
|
||||
Td.Log.SetVerbosityLevel(20);
|
||||
|
||||
System.Threading.Tasks.Task.Run(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
Td.Log.SetFilePath(Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "log"));
|
||||
_client = Td.Client.Create(_handler);
|
||||
var parameters = new TdApi.TdlibParameters();
|
||||
parameters.DatabaseDirectory = Windows.Storage.ApplicationData.Current.LocalFolder.Path;
|
||||
|
Reference in New Issue
Block a user