From 98de65c9ea7492b8d9ee12602a4c49ab013c3a38 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 22 Feb 2024 23:24:35 +0100 Subject: [PATCH] - add line to copy the password to the clipboard (accidentally left out from previous commit) --- .../Password Composer/PasswordComposerViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ownCloudAppShared/Client/Password Composer/PasswordComposerViewController.swift b/ownCloudAppShared/Client/Password Composer/PasswordComposerViewController.swift index cdc58b62d..86a7f2edb 100644 --- a/ownCloudAppShared/Client/Password Composer/PasswordComposerViewController.swift +++ b/ownCloudAppShared/Client/Password Composer/PasswordComposerViewController.swift @@ -260,6 +260,7 @@ class PasswordComposerViewController: UIViewController { } func copyToClipboard() { + UIPasteboard.general.string = password } func viewControllerForPresentation() -> ThemeNavigationController {