mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Use MXKPasteboardManager.pasteboard on copy operations
This commit is contained in:
parent
f5caa8a84b
commit
75c893e1bd
3 changed files with 6 additions and 6 deletions
|
@ -233,7 +233,7 @@ static RageShakeManager* sharedInstance = nil;
|
|||
UIGraphicsEndImageContext();
|
||||
|
||||
// the image is copied in the clipboard
|
||||
MXKAppSettings.standardAppSettings.pasteboard.image = image;
|
||||
MXKPasteboardManager.shared.pasteboard.image = image;
|
||||
|
||||
return image;
|
||||
}
|
||||
|
|
|
@ -2622,7 +2622,7 @@
|
|||
|
||||
if (permalink)
|
||||
{
|
||||
MXKAppSettings.standardAppSettings.pasteboard.string = permalink;
|
||||
MXKPasteboardManager.shared.pasteboard.string = permalink;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -5256,7 +5256,7 @@
|
|||
|
||||
if (textMessage)
|
||||
{
|
||||
MXKAppSettings.standardAppSettings.pasteboard.string = textMessage;
|
||||
MXKPasteboardManager.shared.pasteboard.string = textMessage;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -898,7 +898,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
|||
|
||||
if (roomdId)
|
||||
{
|
||||
MXKAppSettings.standardAppSettings.pasteboard.string = roomdId;
|
||||
MXKPasteboardManager.shared.pasteboard.string = roomdId;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1006,7 +1006,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
|||
|
||||
if (roomAlias)
|
||||
{
|
||||
MXKAppSettings.standardAppSettings.pasteboard.string = roomAlias;
|
||||
MXKPasteboardManager.shared.pasteboard.string = roomAlias;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1031,7 +1031,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
|||
|
||||
if (permalink)
|
||||
{
|
||||
MXKAppSettings.standardAppSettings.pasteboard.string = permalink;
|
||||
MXKPasteboardManager.shared.pasteboard.string = permalink;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue