Skip to content

Commit

Permalink
refactor: Quota check is public
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Feb 13, 2025
1 parent 9b35764 commit a61a5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kDriveCore/Data/Models/Drive/Drive+Quota.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class DriveQuota: EmbeddedObject, Codable {
}
}

extension Drive {
public extension Drive {
var dropboxQuotaExceeded: Bool {
guard let quota, let dropbox = quota.dropbox else { return false }
return dropbox.current ?? 0 >= dropbox.max
Expand Down

0 comments on commit a61a5c7

Please sign in to comment.