Skip to content

Commit 8aba63e

Browse files
committed
refactor: show toast instead of HUD for copy description
1 parent 22a935b commit 8aba63e

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎src/Features/General/CopyDescription.x‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
pasteboard.string = result;
4141

4242
// Notify user
43-
JGProgressHUD *HUD = [[JGProgressHUD alloc] init];
44-
HUD.textLabel.text = @"Copied text to clipboard";
45-
HUD.indicatorView = [[JGProgressHUDSuccessIndicatorView alloc] init];
46-
47-
[HUD showInView:topMostController().view];
48-
[HUD dismissAfterDelay:2.0];
43+
[SCIUtils showToastForDuration:2.5 title:@"Copied text to clipboard"];
4944
}
5045
%end

0 commit comments

Comments
 (0)