From 3ce003d33650fbe9ab6e5653713b502997610f2d Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Thu, 11 Jun 2026 17:36:37 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20API=2026=E2=80=9328=20startup=20crash:=20?= =?UTF-8?q?DayNight=20platform=20theme=20requires=20API=2029?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Caught by the first-ever lint run. Split into values/ (Material.Light) and values-night/ (Material) instead — same pre-Compose window flash behavior on every supported API level. Remaining lint warnings are deliberate: BatteryLife is decision #4 (sideloaded, Play policy n/a), OldTargetApi keeps targetSdk 35 per the brief, and the Kotlin 2.4 'newer version' nags stay blocked by KSP compatibility. Co-Authored-By: Claude Fable 5 --- app/src/main/res/values-night/themes.xml | 4 ++++ app/src/main/res/values/themes.xml | 8 +++----- 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/values-night/themes.xml diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..85491e8 --- /dev/null +++ b/app/src/main/res/values-night/themes.xml @@ -0,0 +1,4 @@ + + + + Light/dark split via values-night/ because DayNight-temaet krever API 29 + og minSdk er 26. --> +