Fix new swiftformat warnings: convert types used for hosting only static members into enums.

This commit is contained in:
Stefan Ceriu
2023-11-13 13:28:42 +02:00
committed by Stefan Ceriu
parent 259baeaf99
commit a8be8f839b
6 changed files with 6 additions and 6 deletions
@@ -16,7 +16,7 @@
import Foundation
final class DataProtectionManager {
enum DataProtectionManager {
/// Detects after reboot, before unlocked state. Does this by trying to write a file to the filesystem (to the Caches directory) and read it back.
/// - Parameter containerURL: Container url to write the file.
/// - Returns: true if the state detected
+1 -1
View File
@@ -17,7 +17,7 @@
import Foundation
import MatrixRustSDK
class NSELogger {
enum NSELogger {
private static var isConfigured = false
/// Memory formatter, uses exact 2 fraction digits and no grouping