Skip to content

Commit b05b96e

Browse files
committed
tweak prefs and add tooltips
1 parent 00ca96e commit b05b96e

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

imageviewer5/ContentView.swift

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct ContentView: View, DropDelegate {
5656
if self.showInfoBar == true && url_string != "" {
5757
Spacer()
5858
HStack {
59-
Text(self.InfoBar_Text_Name).bold()
59+
Text(self.InfoBar_Text_Name).bold().help(get_full_filepath())
6060
Text(self.InfoBar_Text_Format)
6161
Text(self.InfoBar_Text_Misc)
6262
}.padding()
@@ -96,14 +96,14 @@ struct PrefsView: View {
9696
Form {
9797

9898
Section() {
99-
Toggle("Remember Image from Last Session", isOn: $RememberLastSession).onChange(of: RememberLastSession) { newvalue in
99+
Toggle("Remember Last Picture", isOn: $RememberLastSession).onChange(of: RememberLastSession) { newvalue in
100100
UD.setValue(newvalue, forKey: "Remember Last Session Image")
101101
SettingsUpdated()
102-
}
102+
}.help("Automatically re-open the picture you last viewed the next time you open the app")
103103

104-
Toggle("Show Info Bar", isOn: $StatusBarEnabled).onChange(of: StatusBarEnabled) { newvalue in
104+
Toggle("Info Bar", isOn: $StatusBarEnabled).onChange(of: StatusBarEnabled) { newvalue in
105105
ToggleInfoBar()
106-
}
106+
}.help("Show information about the picture below it")
107107

108108

109109
}
@@ -116,15 +116,18 @@ struct PrefsView: View {
116116
Toggle("Show Index", isOn: $ShowIndexInTitle).onChange(of: ShowIndexInTitle) { newvalue in
117117
UD.setValue(newvalue, forKey: "Show Index In Title")
118118
SettingsUpdated()
119-
}
119+
}.help("[1/23]")
120+
120121
Toggle("Show Name", isOn: $ShowNameInTitle).onChange(of: ShowNameInTitle) { newvalue in
121122
UD.setValue(newvalue, forKey: "Show Name In Title")
122123
SettingsUpdated()
123-
}
124+
}.help("File Name.jpg")
125+
124126
Toggle("Show Resolution", isOn: $ShowResolutionInTitle).onChange(of: ShowResolutionInTitle) { newvalue in
125127
UD.setValue(newvalue, forKey: "Show Resolution In Title")
126128
SettingsUpdated()
127-
}
129+
}.help("1920x1080")
130+
128131
}
129132

130133
}

imageviewer5/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<key>CFBundleShortVersionString</key>
3737
<string>$(MARKETING_VERSION)</string>
3838
<key>CFBundleVersion</key>
39-
<string>430</string>
39+
<string>437</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.photography</string>
4242
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)