Skip to content

Commit ac774b7

Browse files
chore: Use String(describing:) for identifiers
1 parent 3a81302 commit ac774b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/front/macOS/kDrive/Controllers/MainWindow/SplitView/MainSidebarViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extension SidebarItem {
4141
}
4242

4343
final class MainSidebarViewController: NSViewController {
44-
static let navigationCellIdentifier = NSUserInterfaceItemIdentifier("NavigationSidebarCell")
44+
static let navigationCellIdentifier = NSUserInterfaceItemIdentifier(String(describing: SidebarTableCellView.self))
4545

4646
weak var delegate: NavigableSidebarViewControllerDelegate?
4747

src/front/macOS/kDrive/Controllers/PreferencesWindow/SplitView/PreferencesSidebarViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension SidebarItem {
2626
}
2727

2828
class PreferencesSidebarViewController: NSViewController {
29-
static let navigationCellIdentifier = NSUserInterfaceItemIdentifier("NavigationSidebarCell")
29+
static let navigationCellIdentifier = NSUserInterfaceItemIdentifier(String(describing: SidebarTableCellView.self))
3030

3131
weak var delegate: NavigableSidebarViewControllerDelegate?
3232

0 commit comments

Comments
 (0)