Skip to content

Commit

Permalink
Add string without spaces number section copy
Browse files Browse the repository at this point in the history
  • Loading branch information
V1taS committed Mar 7, 2024
1 parent 145a368 commit ecb6bef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ extension NumberScreenCoordinator: NumberScreenModuleOutput {
}

func resultLabelAction(text: String?) {
UIPasteboard.general.string = text
let stringWithoutSpaces = text?.replacingOccurrences(of: " ", with: "")
UIPasteboard.general.string = stringWithoutSpaces
UIImpactFeedbackGenerator(style: .light).impactOccurred()
services.notificationService.showPositiveAlertWith(title: Appearance().copiedToClipboard,
glyph: true,
Expand Down

0 comments on commit ecb6bef

Please sign in to comment.