Commit acd2a290d9
Unsigned
Layout: unified · split
Hutch.xcodeproj/project.pbxproj +18 −18
| @@ -30,6 +30,20 @@ | ||
| 30 | 30 | }; |
| 31 | 31 | /* End PBXContainerItemProxy section */ |
| 32 | 32 | |
| 33 | /* Begin PBXCopyFilesBuildPhase section */ | |
| 34 | 8BE081FA2F80000100000001 /* Embed App Extensions */ = { | |
| 35 | isa = PBXCopyFilesBuildPhase; | |
| 36 | buildActionMask = 2147483647; | |
| 37 | dstPath = ""; | |
| 38 | dstSubfolderSpec = 13; | |
| 39 | files = ( | |
| 40 | 8BE082012F80000100000001 /* HutchWidgetExtension.appex in Embed App Extensions */, | |
| 41 | ); | |
| 42 | name = "Embed App Extensions"; | |
| 43 | runOnlyForDeploymentPostprocessing = 0; | |
| 44 | }; | |
| 45 | /* End PBXCopyFilesBuildPhase section */ | |
| 46 | ||
| 33 | 47 | /* Begin PBXFileReference section */ |
| 34 | 48 | 8B2F89632F69DEB900FC0253 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; }; |
| 35 | 49 | 8B2F89642F69DEB900FC0253 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; }; |
| @@ -87,20 +101,6 @@ | ||
| 87 | 101 | }; |
| 88 | 102 | /* End PBXFileSystemSynchronizedRootGroup section */ |
| 89 | 103 | |
| 90 | /* Begin PBXCopyFilesBuildPhase section */ | |
| 91 | 8BE081FA2F80000100000001 /* Embed App Extensions */ = { | |
| 92 | isa = PBXCopyFilesBuildPhase; | |
| 93 | buildActionMask = 2147483647; | |
| 94 | dstPath = ""; | |
| 95 | dstSubfolderSpec = 13; | |
| 96 | files = ( | |
| 97 | 8BE082012F80000100000001 /* HutchWidgetExtension.appex in Embed App Extensions */, | |
| 98 | ); | |
| 99 | name = "Embed App Extensions"; | |
| 100 | runOnlyForDeploymentPostprocessing = 0; | |
| 101 | }; | |
| 102 | /* End PBXCopyFilesBuildPhase section */ | |
| 103 | ||
| 104 | 104 | /* Begin PBXFrameworksBuildPhase section */ |
| 105 | 105 | 8B4B28CE2F6704280045FA19 /* Frameworks */ = { |
| 106 | 106 | isa = PBXFrameworksBuildPhase; |
| @@ -459,7 +459,7 @@ | ||
| 459 | 459 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; |
| 460 | 460 | CODE_SIGN_ENTITLEMENTS = Hutch/Hutch.entitlements; |
| 461 | 461 | CODE_SIGN_STYLE = Automatic; |
| 462 | CURRENT_PROJECT_VERSION = 10; | |
| 462 | CURRENT_PROJECT_VERSION = 11; | |
| 463 | 463 | DEVELOPMENT_TEAM = ZCNAX3VL9D; |
| 464 | 464 | ENABLE_PREVIEWS = YES; |
| 465 | 465 | GENERATE_INFOPLIST_FILE = YES; |
| @@ -476,7 +476,7 @@ | ||
| 476 | 476 | "$(inherited)", |
| 477 | 477 | "@executable_path/Frameworks", |
| 478 | 478 | ); |
| 479 | MARKETING_VERSION = 2.4.0; | |
| 479 | MARKETING_VERSION = 2.4.1; | |
| 480 | 480 | PRODUCT_BUNDLE_IDENTIFIER = net.cleberg.Hutch; |
| 481 | 481 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 482 | 482 | STRING_CATALOG_GENERATE_SYMBOLS = YES; |
| @@ -496,7 +496,7 @@ | ||
| 496 | 496 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; |
| 497 | 497 | CODE_SIGN_ENTITLEMENTS = Hutch/Hutch.entitlements; |
| 498 | 498 | CODE_SIGN_STYLE = Automatic; |
| 499 | CURRENT_PROJECT_VERSION = 10; | |
| 499 | CURRENT_PROJECT_VERSION = 11; | |
| 500 | 500 | DEVELOPMENT_TEAM = ZCNAX3VL9D; |
| 501 | 501 | ENABLE_PREVIEWS = YES; |
| 502 | 502 | GENERATE_INFOPLIST_FILE = YES; |
| @@ -513,7 +513,7 @@ | ||
| 513 | 513 | "$(inherited)", |
| 514 | 514 | "@executable_path/Frameworks", |
| 515 | 515 | ); |
| 516 | MARKETING_VERSION = 2.4.0; | |
| 516 | MARKETING_VERSION = 2.4.1; | |
| 517 | 517 | PRODUCT_BUNDLE_IDENTIFIER = net.cleberg.Hutch; |
| 518 | 518 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 519 | 519 | STRING_CATALOG_GENERATE_SYMBOLS = YES; |
HutchWidgetExtension/NeedsAttentionWidget.swift +3 −3
| @@ -7,7 +7,7 @@ struct NeedsAttentionEntry: TimelineEntry { | ||
| 7 | 7 | } |
| 8 | 8 | |
| 9 | 9 | struct NeedsAttentionTimelineProvider: TimelineProvider { |
| 10 | func placeholder(in context: Context) -> NeedsAttentionEntry { | |
| 10 | func placeholder(in _: Context) -> NeedsAttentionEntry { | |
| 11 | 11 | NeedsAttentionEntry( |
| 12 | 12 | date: .now, |
| 13 | 13 | snapshot: NeedsAttentionSnapshot( |
| @@ -19,7 +19,7 @@ struct NeedsAttentionTimelineProvider: TimelineProvider { | ||
| 19 | 19 | ) |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | func getSnapshot(in context: Context, completion: @escaping (NeedsAttentionEntry) -> Void) { | |
| 22 | func getSnapshot(in _: Context, completion: @escaping (NeedsAttentionEntry) -> Void) { | |
| 23 | 23 | completion( |
| 24 | 24 | NeedsAttentionEntry( |
| 25 | 25 | date: .now, |
| @@ -28,7 +28,7 @@ struct NeedsAttentionTimelineProvider: TimelineProvider { | ||
| 28 | 28 | ) |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | func getTimeline(in context: Context, completion: @escaping (Timeline<NeedsAttentionEntry>) -> Void) { | |
| 31 | func getTimeline(in _: Context, completion: @escaping (Timeline<NeedsAttentionEntry>) -> Void) { | |
| 32 | 32 | let refreshDate = Calendar.current.date(byAdding: .minute, value: 20, to: .now) ?? .now.addingTimeInterval(1200) |
| 33 | 33 | let entry = NeedsAttentionEntry(date: .now, snapshot: NeedsAttentionSnapshotStore.load()) |
| 34 | 34 | completion(Timeline(entries: [entry], policy: .after(refreshDate))) |