Skip to content

Commit

Permalink
Updated file wallpaper_set_screen.dart
Browse files Browse the repository at this point in the history
RequestSizeOption removed because of error
 error • There's no constant named 'RESIZE_CENTRE_CROP' in 'RequestSizeOptions' • lib/pages/detailed_asset_view/widgets/wallpaper_set_screen.dart:53:62 • undefined_enum_constant
  • Loading branch information
Raviramnani1 committed Jul 30, 2024
1 parent adb0929 commit 27ff425
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _WallpaperScreenState extends State<_WallpaperScreen> {
downloading.value = true;
}, onDone: () async {
downloading.value = false;
await Wallpaper.lockScreen(options: RequestSizeOptions.RESIZE_EXACT);
await Wallpaper.lockScreen();
done.value = true;
}, onError: (error) {
downloading.value = false;
Expand Down

0 comments on commit 27ff425

Please sign in to comment.