Skip to content

Commit

Permalink
🔥 update
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Jun 19, 2022
1 parent 924a90c commit 6c30208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Mac/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ CA
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="DataCell" id="I0q-sX-uBq" customClass="SidebarCellView" customModule="MiaoYan" customModuleProvider="target">
<rect key="frame" x="10" y="0.0" width="140" height="50"/>
<rect key="frame" x="10" y="0.0" width="182" height="50"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView wantsLayer="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1dd-W4-MiY">
Expand Down Expand Up @@ -908,7 +908,7 @@ CA
</connections>
</tableCellView>
<tableCellView identifier="HeaderCell" id="xN2-Aa-G21" customClass="SidebarHeaderCellView" customModule="MiaoYan" customModuleProvider="target">
<rect key="frame" x="10" y="50" width="140" height="55"/>
<rect key="frame" x="10" y="50" width="182" height="55"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" id="a5J-Ua-Hnz">
Expand Down
2 changes: 1 addition & 1 deletion Mac/Preferences/PreferencesGeneralViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class PreferencesGeneralViewController: NSViewController {
openPanel.begin { result in
if result.rawValue == NSFileHandlingPanelOKButton {
guard let url = openPanel.url else { return }
guard let currentURL = UserDefaultsManagement.storageUrl else { return }
guard UserDefaultsManagement.storageUrl != nil else { return }

UserDefaultsManagement.storagePath = url.path
self.defaultStoragePath.stringValue = url.path
Expand Down

0 comments on commit 6c30208

Please sign in to comment.