@@ -71,7 +71,7 @@ final class NCGlobal: Sendable {
7171 //
7272 let avatarSize : Int = 128 * Int( UIScreen . main. scale)
7373 let avatarSizeRounded : Int = 128
74-
74+
7575 // Preview size
7676 //
7777 let size1024 : CGSize = CGSize ( width: 1024 , height: 1024 )
@@ -125,6 +125,7 @@ final class NCGlobal: Sendable {
125125 let layoutViewOffline = " LayoutOffline "
126126 let layoutViewFavorite = " LayoutFavorite "
127127 let layoutViewFiles = " LayoutFiles "
128+ let layoutViewTransfers = " LayoutTransfers "
128129 let layoutViewRecent = " LayoutRecent "
129130 let layoutViewShares = " LayoutShares "
130131 let layoutViewShareExtension = " LayoutShareExtension "
@@ -146,7 +147,6 @@ final class NCGlobal: Sendable {
146147 let heightFooterButton : CGFloat = 30
147148 let endHeightFooter : CGFloat = 85
148149
149-
150150 // Text - OnlyOffice - Collabora - QuickLook
151151 //
152152 let editorText = " text "
@@ -251,7 +251,7 @@ final class NCGlobal: Sendable {
251251 let selectorSynchronizationOffline = " synchronizationOffline "
252252 let selectorPrint = " print "
253253 let selectorDeleteFile = " deleteFile "
254-
254+
255255 // Metadata : Status
256256 //
257257 // 0 normal
@@ -281,6 +281,7 @@ final class NCGlobal: Sendable {
281281 let metadataStatusForScreenAwake = [ - 1 , - 2 , 1 , 2 ]
282282 let metadataStatusHideInView = [ 1 , 2 , 3 , 11 ]
283283 let metadataStatusWaitWebDav = [ 10 , 11 , 12 , 13 , 14 , 15 ]
284+ let metadataStatusTransfers = [ - 2 , - 3 , 2 , 3 , 10 , 11 , 12 , 13 , 14 , 15 ]
284285
285286 let metadatasStatusInWaiting = [ - 1 , 1 , 10 , 11 , 12 , 13 , 14 , 15 ]
286287 let metadatasStatusInProgress = [ - 2 , 2 ]
@@ -297,23 +298,30 @@ final class NCGlobal: Sendable {
297298 let notificationCenterChangeTheming = " changeTheming " // userInfo: account
298299 let notificationCenterRichdocumentGrabFocus = " richdocumentGrabFocus "
299300 let notificationCenterReloadDataNCShare = " reloadDataNCShare "
300- let notificationCenterDidCreateShareLink = " didCreateShareLink "
301-
302301 let notificationCenterCloseRichWorkspaceWebView = " closeRichWorkspaceWebView "
303302 let notificationCenterReloadAvatar = " reloadAvatar "
304303 let notificationCenterClearCache = " clearCache "
305304 let notificationCenterCheckUserDelaultErrorDone = " checkUserDelaultErrorDone " // userInfo: account, controller
306305 let notificationCenterServerDidUpdate = " serverDidUpdate " // userInfo: account
307306 let notificationCenterNetworkReachability = " networkReachability "
307+ let notificationCenterDidCreateShareLink = " didCreateShareLink "
308308
309+ let notificationCenterDeleteFile = " deleteFile " // userInfo: [ocId], error
310+ let notificationCenterCopyMoveFile = " copyMoveFile " // userInfo: [ocId] serverUrl, account, dragdrop, type (copy, move)
311+ let notificationCenterMoveFile = " moveFile " // userInfo: [ocId], [indexPath], error
312+ let notificationCenterCopyFile = " copyFile " // userInfo: [ocId], [indexPath], error
309313 let notificationCenterRenameFile = " renameFile " // userInfo: serverUrl, account, error
314+ let notificationCenterFavoriteFile = " favoriteFile " // userInfo: ocId, serverUrl
315+ let notificationCenterFileExists = " fileExists " // userInfo: ocId, fileExists
316+ let notificationCenterReloadDataSource = " reloadDataSource " // userInfo: serverUrl?, clearDataSource
310317
311318 let notificationCenterMenuSearchTextPDF = " menuSearchTextPDF "
312319 let notificationCenterMenuGotToPageInPDF = " menuGotToPageInPDF "
313320
314321 let notificationCenterOpenMediaDetail = " openMediaDetail " // userInfo: ocId
315322
316323 let notificationCenterDismissScanDocument = " dismissScanDocument "
324+ let notificationCenterDismissUploadAssets = " dismissUploadAssets "
317325
318326 let notificationCenterEnableSwipeGesture = " enableSwipeGesture "
319327 let notificationCenterDisableSwipeGesture = " disableSwipeGesture "
@@ -340,7 +348,6 @@ final class NCGlobal: Sendable {
340348 let networkingStatusUploading = " statusUploading "
341349 let networkingStatusUploaded = " statusUploaded "
342350
343-
344351 let networkingStatusReloadAvatar = " statusReloadAvatar "
345352 let notificationCenterUpdateIcons = " updateIcons "
346353
@@ -439,7 +446,7 @@ final class NCGlobal: Sendable {
439446 let keyFileNameAutoUploadType = " fileNameAutoUploadType "
440447 let keyFileNameOriginal = " fileNameOriginal "
441448 let keyFileNameOriginalAutoUpload = " fileNameOriginalAutoUpload "
442-
449+
443450 // LOG TAG
444451 //
445452 let logTagTask = " BGT "
@@ -458,6 +465,10 @@ final class NCGlobal: Sendable {
458465 //
459466 let udMigrationMultiDomains = " migrationMultiDomains "
460467 let udLastVersion = " lastVersion "
468+
469+ // Album
470+ //
471+ let selectedTabIndexAlbum : Int = 3
461472}
462473
463474/**
0 commit comments