We are confidence enough that the data will be saved to the db, so lets change how we update the UI, so instead of wating on the db call to complete, we will just update the UI while the db call is in progress
This commit is contained in:
@@ -11,7 +11,7 @@ public partial class ItemNavigationViewModel(IServiceProvider provider,
|
||||
IDisposer disposer,
|
||||
IContentTemplate template,
|
||||
NamedComponent named,
|
||||
int id,
|
||||
Guid id,
|
||||
string? name = "",
|
||||
string? description = "",
|
||||
bool selected = false,
|
||||
@@ -36,7 +36,7 @@ public partial class ItemNavigationViewModel(IServiceProvider provider,
|
||||
private bool favourite = favourite;
|
||||
|
||||
[ObservableProperty]
|
||||
private int id = id;
|
||||
private Guid id = id;
|
||||
|
||||
[ObservableProperty]
|
||||
private string? name = name;
|
||||
|
||||
Reference in New Issue
Block a user