From 9c79555895454c1f2bc9c2c8e0f08bb66625d8b7 Mon Sep 17 00:00:00 2001 From: omega ui Date: Sat, 6 Jan 2024 18:29:58 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AD=20Fixed=20Date=20Filtering.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- lib/core/powermode/power_data_handler.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 518f0ec..8ea2196 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ On some distros, like **Ubuntu with GNOME on Wayland**, xclip still works becaus ![img.png](media_Cliptopia/settings.png) -#### Please note that Cliptopia is in beta until a stable version releases, which is expected to be released by the end of this month. +#### Please note that Cliptopia is in beta until a stable version releases. ## Installation diff --git a/lib/core/powermode/power_data_handler.dart b/lib/core/powermode/power_data_handler.dart index 78c4f21..2d9cb39 100644 --- a/lib/core/powermode/power_data_handler.dart +++ b/lib/core/powermode/power_data_handler.dart @@ -84,9 +84,9 @@ class PowerDataHandler { static void init() { if (Storage.get('save-date-filter') ?? false) { if (dateStorage.get('range') != null) { - PowerDataHandler.date = DateRange.fromMap(dateStorage.get('range')); PowerDataHandler.dateFilterType = convertTextToDateFilter(dateStorage.get('type')); + useDate(PowerDataHandler.dateFilterType); } } }