✨ System Share on Android
This commit is contained in:
parent
89c912a35b
commit
f92418ea4b
@ -23,14 +23,16 @@ class HomeWidgetProvider {
|
|||||||
|
|
||||||
Future<void> updateWidget() async {
|
Future<void> updateWidget() async {
|
||||||
if (kIsWeb || !(Platform.isAndroid || Platform.isIOS)) return;
|
if (kIsWeb || !(Platform.isAndroid || Platform.isIOS)) return;
|
||||||
const widgets = ["SolarFeaturedPostWidget", "SolarCheckInWidget"];
|
if (Platform.isIOS) {
|
||||||
for(final widget in widgets) {
|
const widgets = ["SolarFeaturedPostWidget", "SolarCheckInWidget"];
|
||||||
await HomeWidget.updateWidget(
|
for (final widget in widgets) {
|
||||||
name: widget,
|
await HomeWidget.updateWidget(
|
||||||
iOSName: widget,
|
name: widget,
|
||||||
androidName: "com.solsynth.solian.$widget",
|
iOSName: widget,
|
||||||
qualifiedAndroidName: "group.solsynth.solian.$widget",
|
androidName: "com.solsynth.solian.$widget",
|
||||||
);
|
qualifiedAndroidName: "group.solsynth.solian.$widget",
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user