fix: copy url to clipboard directly
This commit is contained in:
parent
a9837b7938
commit
c0049cbb8d
2 changed files with 7 additions and 15 deletions
|
@ -353,9 +353,7 @@ impl AsyncComponent for Tyrolienne {
|
|||
self.step = Step::Waiting;
|
||||
self.progress = 0;
|
||||
self.total = 1;
|
||||
|
||||
// TODO copy to clipboard here instead, the toast disappears after a short while
|
||||
self.toast.emit(ToastInput::Show(url));
|
||||
self.toast.emit(ToastInput::ShowAndCopy(url));
|
||||
}
|
||||
ProgressMessage::Error(e) => {
|
||||
self.step = Step::Waiting;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue