Skip to content

Commit

Permalink
fix: Remove force unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptGrv committed Feb 19, 2025
1 parent b74a9ea commit 07edb89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class WifiSyncSettingsViewController: BaseGroupedTableViewController {
@LazyInjectService private var appNavigable: AppNavigable

private var tableContent: [SyncMode] = SyncMode.allCases
private var selectedMode: SyncMode!
private var selectedMode: SyncMode = .onlyWifi
weak var delegate: WifiSyncSettingsDelegate?

override func viewDidLoad() {
Expand Down
2 changes: 1 addition & 1 deletion kDriveCore/Utils/SyncMode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/

import kDriveResources
import UIKit
import RealmSwift
import UIKit

public enum SyncMode: String, CaseIterable, PersistableEnum {
case onlyWifi
Expand Down

0 comments on commit 07edb89

Please sign in to comment.