コード例 #1
0
        public async void DeleteSource(WallpaperSource source)
        {
            if (!await _dialog.ShowConfirmationAsync("Confirmation", string.Format("Are you sure you want to delete [{0}] from your source list?", source.Query)))
            {
                return;
            }
            await _db.RemoveSource(source);

            Sources.Remove(source);
        }