Skip to content

Commit 8c516bb

Browse files
committed
♻️ better progress indicator handling
1 parent dee468b commit 8c516bb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

LocalizationEditor/UI/Base.lproj/Main.storyboard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<autoresizingMask key="autoresizingMask"/>
136136
</tableHeaderView>
137137
</scrollView>
138-
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="orS-Om-jEF">
138+
<progressIndicator wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="orS-Om-jEF">
139139
<rect key="frame" x="321" y="200" width="16" height="16"/>
140140
</progressIndicator>
141141
</subviews>

LocalizationEditor/UI/ViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class ViewController: NSViewController {
8585
openPanel.begin { [unowned self] (result) -> Void in
8686
if result.rawValue == NSApplication.ModalResponse.OK.rawValue {
8787
if let url = openPanel.url {
88-
self.progressIndicator.isHidden = false
8988
self.progressIndicator.startAnimation(self)
9089
self.dataSource.load(folder: url) { [unowned self] languages in
9190
self.reloadData(with: languages)

0 commit comments

Comments
 (0)