Skip to content

Commit 9747c86

Browse files
committed
Update access level for methods that will soon go to WordPressData
1 parent efea4c0 commit 9747c86

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WordPress/Classes/Jetpack/Utility/SharedDataIssueSolver.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public final class SharedDataIssueSolver: NSObject {
2929
return SharedDataIssueSolver()
3030
}
3131

32-
func migrateAuthKey() {
32+
public func migrateAuthKey() {
3333
guard let account = try? WPAccount.lookupDefaultWordPressComAccount(in: contextManager.mainContext) else {
3434
return
3535
}

WordPress/Classes/Models/Media.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ public extension Media {
99
/// Increments the AutoUpload failure count for this Media object.
1010
///
1111
@objc
12-
public func incrementAutoUploadFailureCount() {
12+
func incrementAutoUploadFailureCount() {
1313
autoUploadFailureCount = NSNumber(value: autoUploadFailureCount.intValue + 1)
1414
}
1515

1616
/// Resets the AutoUpload failure count for this Media object.
1717
///
1818
@objc
19-
public func resetAutoUploadFailureCount() {
19+
func resetAutoUploadFailureCount() {
2020
autoUploadFailureCount = 0
2121
}
2222
/// Returns true if a new attempt to upload the media will be done later.
@@ -44,7 +44,7 @@ public extension Media {
4444
// MARK: - Media Type
4545

4646
/// Returns the MIME type, e.g. "image/png".
47-
@objc public var mimeType: String? {
47+
@objc var mimeType: String? {
4848
guard let fileExtension = self.fileExtension(),
4949
let type = UTType(filenameExtension: fileExtension),
5050
let mimeType = type.preferredMIMEType else {

0 commit comments

Comments
 (0)