diff --git a/GitStatus.xcodeproj/project.pbxproj b/GitStatus.xcodeproj/project.pbxproj index ed358a4..60c368b 100644 --- a/GitStatus.xcodeproj/project.pbxproj +++ b/GitStatus.xcodeproj/project.pbxproj @@ -299,7 +299,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 1.1.0; + MARKETING_VERSION = 1.2.0; PRODUCT_BUNDLE_IDENTIFIER = com.rook1e.GitStatus; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -331,7 +331,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 1.1.0; + MARKETING_VERSION = 1.2.0; PRODUCT_BUNDLE_IDENTIFIER = com.rook1e.GitStatus; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/GitStatus/ContentView.swift b/GitStatus/ContentView.swift index cae197e..65f8e1d 100644 --- a/GitStatus/ContentView.swift +++ b/GitStatus/ContentView.swift @@ -13,13 +13,12 @@ struct ContentView: View { var body: some View { if runtimeData.lastPull != nil { - Text("Updated \(formatDate(runtimeData.lastPull))") + Text("Updated at \(formatDate(runtimeData.lastPull))") } - if runtimeData.message != "" { + if !runtimeData.message.isEmpty { Text(runtimeData.message) - } - else if runtimeData.notifications.count == 0 { + } else if runtimeData.notifications.count == 0 { Text("All caught up!") } else { ForEach(runtimeData.notifications.prefix(runtimeData.listLength)){ notification in diff --git a/GitStatus/GitStatusApp.swift b/GitStatus/GitStatusApp.swift index ad79502..28777c5 100644 --- a/GitStatus/GitStatusApp.swift +++ b/GitStatus/GitStatusApp.swift @@ -34,6 +34,10 @@ struct GitStatusApp: App { if runtimeData.notifications.count > 0 { Text(runtimeData.notifications.count, format: .number) } + + if !runtimeData.message.isEmpty { + Text("!") + } } } }