Skip to content

Commit

Permalink
coding
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jun 5, 2024
1 parent dacd936 commit bfc8e2f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
12 changes: 6 additions & 6 deletions iOSClient/NCGlobal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -316,21 +316,21 @@ class NCGlobal: NSObject {

// Auto upload subfolder granularity
//
@objc let subfolderGranularityDaily = 2
@objc let subfolderGranularityMonthly = 1
@objc let subfolderGranularityYearly = 0
let subfolderGranularityDaily = 2
let subfolderGranularityMonthly = 1
let subfolderGranularityYearly = 0

// Notification Center
//
@objc let notificationCenterChangeUser = "changeUser"
@objc let notificationCenterChangeTheming = "changeTheming"
let notificationCenterChangeTheming = "changeTheming"
let notificationCenterRichdocumentGrabFocus = "richdocumentGrabFocus"
let notificationCenterReloadDataNCShare = "reloadDataNCShare"
let notificationCenterCloseRichWorkspaceWebView = "closeRichWorkspaceWebView"
let notificationCenterReloadAvatar = "reloadAvatar"
let notificationCenterCreateMediaCacheEnded = "createMediaCacheEnded"

@objc let notificationCenterReloadDataSource = "reloadDataSource"
let notificationCenterReloadDataSource = "reloadDataSource"
let notificationCenterReloadDataSourceNetwork = "reloadDataSourceNetwork" // userInfo: withQueryDB

let notificationCenterChangeStatusFolderE2EE = "changeStatusFolderE2EE" // userInfo: serverUrl
Expand All @@ -340,7 +340,7 @@ class NCGlobal: NSObject {
let notificationCenterDownloadCancelFile = "downloadCancelFile" // userInfo: ocId, serverUrl, account

let notificationCenterUploadStartFile = "uploadStartFile" // userInfo: ocId, serverUrl, account, fileName, sessionSelector
@objc let notificationCenterUploadedFile = "uploadedFile" // userInfo: ocId, serverUrl, account, fileName, ocIdTemp, error
let notificationCenterUploadedFile = "uploadedFile" // userInfo: ocId, serverUrl, account, fileName, ocIdTemp, error
let notificationCenterUploadedLivePhoto = "uploadedLivePhoto" // userInfo: ocId, serverUrl, account, fileName, ocIdTemp, error

let notificationCenterUploadCancelFile = "uploadCancelFile" // userInfo: ocId, serverUrl, account
Expand Down
16 changes: 16 additions & 0 deletions iOSClient/Share/NCPermissions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,23 @@
// Created by Marino Faggiana on 05/06/24.
// Copyright © 2024 Marino Faggiana. All rights reserved.
//
// Author Marino Faggiana <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//

import UIKit
import Foundation

class NCPermissions: NSObject {
Expand Down

0 comments on commit bfc8e2f

Please sign in to comment.