From ab7a4458afa5c71b33b9c49943458b2136bc438a Mon Sep 17 00:00:00 2001 From: Ivan Hrabcak Date: Tue, 7 May 2024 22:36:43 +0200 Subject: [PATCH] Change the font size to fit all devices --- EdupageWidget.xcodeproj/project.pbxproj | 4 ++-- NextLessonWidget/NextLessonWidget.swift | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/EdupageWidget.xcodeproj/project.pbxproj b/EdupageWidget.xcodeproj/project.pbxproj index 75766fc..9f44158 100644 --- a/EdupageWidget.xcodeproj/project.pbxproj +++ b/EdupageWidget.xcodeproj/project.pbxproj @@ -512,7 +512,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.1; PRODUCT_BUNDLE_IDENTIFIER = eu.hrabcak.EdupageWidget; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -543,7 +543,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.1; PRODUCT_BUNDLE_IDENTIFIER = eu.hrabcak.EdupageWidget; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/NextLessonWidget/NextLessonWidget.swift b/NextLessonWidget/NextLessonWidget.swift index a3fcaef..f9f3e8b 100644 --- a/NextLessonWidget/NextLessonWidget.swift +++ b/NextLessonWidget/NextLessonWidget.swift @@ -191,7 +191,7 @@ struct NextLessonWidgetEntryView : View { } else if entry.lesson.name != "END" { Text( format.string(from: entry.lesson.time.start) + " - " + format.string(from: entry.lesson.time.end) - ).font(.system(size: 20)) + ).font(.system(size: 18)) Text(entry.lesson.name) .bold() .font(.system(size: 45)) @@ -219,7 +219,7 @@ struct NextLessonWidget: Widget { .padding() } } - .configurationDisplayName("My Widget") - .description("This is an example widget.") + .configurationDisplayName("Next Lesson Widget") + .description("Configure your edupage credentials.") } }