Skip to content

Commit ddc9f87

Browse files
committed
feat: UX improvement
1 parent 9147c41 commit ddc9f87

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Browserino.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
"$(inherited)",
426426
"@executable_path/../Frameworks",
427427
);
428-
MARKETING_VERSION = 1.1.7;
428+
MARKETING_VERSION = "1.1.7+1";
429429
PRODUCT_BUNDLE_IDENTIFIER = xyz.alexstrnik.Browserino;
430430
PRODUCT_NAME = "$(TARGET_NAME)";
431431
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -459,7 +459,7 @@
459459
"$(inherited)",
460460
"@executable_path/../Frameworks",
461461
);
462-
MARKETING_VERSION = 1.1.7;
462+
MARKETING_VERSION = "1.1.7+1";
463463
PRODUCT_BUNDLE_IDENTIFIER = xyz.alexstrnik.Browserino;
464464
PRODUCT_NAME = "$(TARGET_NAME)";
465465
SWIFT_EMIT_LOC_STRINGS = YES;

Browserino/Views/Preferences/EditRuleForm.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ struct RuleForm: View {
8888
}
8989

9090
var body: some View {
91-
let bundle = rule.map { Bundle(url: $0.app)! }
92-
9391
Form {
9492
Section(
9593
header: Text("General")
@@ -132,7 +130,7 @@ struct RuleForm: View {
132130
}
133131
}
134132

135-
if let bundle {
133+
if let bundle = url.map({ Bundle(url: $0)! }) {
136134
Text("\(bundle.infoDictionary!["CFBundleName"] as! String)")
137135
.padding(.horizontal, 5)
138136
.font(.callout)

0 commit comments

Comments
 (0)