mirror of
https://github.com/Sevichecc/raycast-akkoma-extension.git
synced 2025-04-30 22:49:30 +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) {
|
if (scheduled_at) {
|
||||||
showToast(Toast.Style.Success, "Scheduled", labelText(scheduled_at));
|
showToast(Toast.Style.Success, "Scheduled", labelText(scheduled_at));
|
||||||
} else {
|
} else {
|
||||||
|
showToast(Toast.Style.Success, "Status has been published (≧∇≦)/ ! ");
|
||||||
cache.set("latest_published_status", JSON.stringify(response));
|
cache.set("latest_published_status", JSON.stringify(response));
|
||||||
setOpenActionText("View the status in Browser");
|
setOpenActionText("View the status in Browser");
|
||||||
showToast(Toast.Style.Success, "Status has been published (≧∇≦)/ ! ");
|
|
||||||
}
|
}
|
||||||
setStatusInfo(response)
|
setStatusInfo(response)
|
||||||
setCw("");
|
setCw("");
|
||||||
|
|
Loading…
Reference in a new issue