merged develop
This commit is contained in:
@@ -6,6 +6,7 @@ import 'package:home_widget/home_widget.dart';
|
||||
|
||||
import '../state/app/modules/timetable/subject/timetable_subject.dart';
|
||||
import 'widget_data.dart';
|
||||
import 'widget_publisher.dart';
|
||||
|
||||
/// Bridge to the native widget host. All keys/names live here so the Kotlin
|
||||
/// and Swift sides stay in sync.
|
||||
@@ -146,6 +147,7 @@ class WidgetSync {
|
||||
}
|
||||
|
||||
static Future<void> clear() async {
|
||||
WidgetPublisher.resetDedupe();
|
||||
await ensureInitialized();
|
||||
await HomeWidget.saveWidgetData<String>(dayDataKey, null);
|
||||
await HomeWidget.saveWidgetData<String>(weekDataKey, null);
|
||||
|
||||
Reference in New Issue
Block a user