mirror of
https://github.com/Sevichecc/raycast-akkoma-extension.git
synced 2025-04-30 14:49:29 +08:00
perf: let toast show earlier
This commit is contained in:
parent
6491f68324
commit
d6ff99bc59
1 changed files with 1 additions and 1 deletions
|
@ -81,9 +81,9 @@ export default function SimpleCommand(props: CommandProps) {
|
|||
if (scheduled_at) {
|
||||
showToast(Toast.Style.Success, "Scheduled", labelText(scheduled_at));
|
||||
} else {
|
||||
showToast(Toast.Style.Success, "Status has been published (≧∇≦)/ ! ");
|
||||
cache.set("latest_published_status", JSON.stringify(response));
|
||||
setOpenActionText("View the status in Browser");
|
||||
showToast(Toast.Style.Success, "Status has been published (≧∇≦)/ ! ");
|
||||
}
|
||||
setStatusInfo(response)
|
||||
setCw("");
|
||||
|
|
Loading…
Reference in a new issue