✨ System Share on Android
This commit is contained in:
parent
89c912a35b
commit
f92418ea4b
@ -23,6 +23,7 @@ class HomeWidgetProvider {
|
|||||||
|
|
||||||
Future<void> updateWidget() async {
|
Future<void> updateWidget() async {
|
||||||
if (kIsWeb || !(Platform.isAndroid || Platform.isIOS)) return;
|
if (kIsWeb || !(Platform.isAndroid || Platform.isIOS)) return;
|
||||||
|
if (Platform.isIOS) {
|
||||||
const widgets = ["SolarFeaturedPostWidget", "SolarCheckInWidget"];
|
const widgets = ["SolarFeaturedPostWidget", "SolarCheckInWidget"];
|
||||||
for (final widget in widgets) {
|
for (final widget in widgets) {
|
||||||
await HomeWidget.updateWidget(
|
await HomeWidget.updateWidget(
|
||||||
@ -34,3 +35,4 @@ class HomeWidgetProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user