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
@@ -21,7 +21,7 @@ import UIKit
/// is called. The pool contains 3 files.
///
/// `MXLogger` can track and log uncaught exceptions or crashes.
class MXLogger {
enum MXLogger {
/// stderr so it can be restored.
static var stderrSave: Int32 = 0
@@ -17,7 +17,7 @@
import SwiftUI
/// Standard constants used across the app's UI.
struct UIConstants {
enum UIConstants {
static let maxContentHeight: CGFloat = 750
/// The padding used between the top of the main content's icon and the navigation bar.