We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ec6e7 commit 68b5afbCopy full SHA for 68b5afb
src/ViewModels/Clone.cs
@@ -2,6 +2,7 @@
2
using System.ComponentModel.DataAnnotations;
3
using System.IO;
4
using System.Threading.Tasks;
5
+using Avalonia.Threading;
6
7
namespace SourceGit.ViewModels
8
{
@@ -72,7 +73,7 @@ public Clone(string pageId)
72
73
74
var text = await App.GetClipboardTextAsync();
75
if (Models.Remote.IsValidURL(text))
- Remote = text;
76
+ Dispatcher.UIThread.Post(() => Remote = text);
77
}
78
catch
79
0 commit comments