diff --git a/Random/App/Sources/Navigation/MainScreenCoordinator/NumberScreenCoordinator/NumberScreenCoordinator.swift b/Random/App/Sources/Navigation/MainScreenCoordinator/NumberScreenCoordinator/NumberScreenCoordinator.swift index 3b0e8a4d..f0aefedf 100644 --- a/Random/App/Sources/Navigation/MainScreenCoordinator/NumberScreenCoordinator/NumberScreenCoordinator.swift +++ b/Random/App/Sources/Navigation/MainScreenCoordinator/NumberScreenCoordinator/NumberScreenCoordinator.swift @@ -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,