Beispiel #1
0
        private async Task PreparingFilesAsync()
        {
            syncStateDialog.Label = "Authenticating...";
            syncStateDialog.Show(MainPage.UserPrefs.IsReadNightMode);
            syncInstance.InitInstance();
            await syncInstance.AuthenciateAccount();

            syncStateDialog.Label = "Preparing files...";
            mainPage.Collection.SaveAndCommit();
            await syncInstance.InitSyncFolderIfNeeded();

            await PrepareForSyncing();
        }