mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #3081 from Flow-Launcher/taooceros-patch-1
Reload Context
This commit is contained in:
commit
cc463c86ed
1 changed files with 8 additions and 3 deletions
|
|
@ -112,10 +112,15 @@ namespace Flow.Launcher.Core.Plugin
|
||||||
RPC.StartListening();
|
RPC.StartListening();
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual Task ReloadDataAsync()
|
public virtual async Task ReloadDataAsync()
|
||||||
{
|
{
|
||||||
SetupJsonRPC();
|
try
|
||||||
return Task.CompletedTask;
|
{
|
||||||
|
await RPC.InvokeAsync("reload_data", Context);
|
||||||
|
}
|
||||||
|
catch (RemoteMethodNotFoundException e)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual async ValueTask DisposeAsync()
|
public virtual async ValueTask DisposeAsync()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue