From dca4006349fb4b034af87df9e6293e64c8bfdf4a Mon Sep 17 00:00:00 2001
From: Fareez Iqmal <60868965+iqfareez@users.noreply.github.com>
Date: Mon, 19 Feb 2024 06:25:11 +0800
Subject: [PATCH] :pencil2: Add changelog version 2.12.2
---
app/[locale]/changelog/page.mdx | 5 +++++
components/sections/HeroSection.jsx | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/[locale]/changelog/page.mdx b/app/[locale]/changelog/page.mdx
index e4cbd04..8dde486 100644
--- a/app/[locale]/changelog/page.mdx
+++ b/app/[locale]/changelog/page.mdx
@@ -1,6 +1,11 @@
import MdxLayout from '@/components/mdx-layout'
import ChangelogHeader from '@/components/changelog-header'
+
+
+- Fix app **crashes on launch** on **Android 14+** devices if the homescreen widget was added. The crashed are caused because the app are trying
+to schedule the widget update using [`setExact`](https://developer.android.com/reference/android/app/AlarmManager#setExact(int,%20long,%20android.app.PendingIntent)) alarm when the required [permission](https://developer.android.com/develop/background-work/services/alarms/schedule#using-schedule-exact-permission) is not granted by the user. Issue [#228](https://github.com/mptwaktusolat/app_waktu_solat_malaysia/issues/228)
+
- Fix issue where some widget layout would shift due to missing `layout_weight` property.
diff --git a/components/sections/HeroSection.jsx b/components/sections/HeroSection.jsx
index 20a8000..b30ad7a 100644
--- a/components/sections/HeroSection.jsx
+++ b/components/sections/HeroSection.jsx
@@ -12,7 +12,7 @@ import LanguageChanger from "@/components/LanguageChanger";
import { Tooltip } from "react-tooltip";
const Hero = () => {
- const latestVersion = "2.12.1";
+ const latestVersion = "2.12.2";
const { t } = useTranslation();
return (