From adb0929a713a64b785ca0d64e0c10efa9889d28b Mon Sep 17 00:00:00 2001 From: raviramnani Date: Wed, 31 Jul 2024 00:42:48 +0530 Subject: [PATCH] =?UTF-8?q?Updated=20file=20wallpaper=5Fset=5Fscreen.dart?= =?UTF-8?q?=20RequestSizeOption=20from=20resize=5Ffit=20to=20RESIZE=5FEXAC?= =?UTF-8?q?T=20because=20of=20error=20=20error=20=E2=80=A2=20There's=20no?= =?UTF-8?q?=20constant=20named=20'RESIZE=5FCENTRE=5FCROP'=20in=20'RequestS?= =?UTF-8?q?izeOptions'=20=E2=80=A2=20lib/pages/detailed=5Fasset=5Fview/wid?= =?UTF-8?q?gets/wallpaper=5Fset=5Fscreen.dart:53:62=20=E2=80=A2=20undefine?= =?UTF-8?q?d=5Fenum=5Fconstant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/detailed_asset_view/widgets/wallpaper_set_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/lib/pages/detailed_asset_view/widgets/wallpaper_set_screen.dart b/wallet/lib/pages/detailed_asset_view/widgets/wallpaper_set_screen.dart index ff0c815489..16d38cc363 100644 --- a/wallet/lib/pages/detailed_asset_view/widgets/wallpaper_set_screen.dart +++ b/wallet/lib/pages/detailed_asset_view/widgets/wallpaper_set_screen.dart @@ -50,7 +50,7 @@ class _WallpaperScreenState extends State<_WallpaperScreen> { downloading.value = true; }, onDone: () async { downloading.value = false; - await Wallpaper.lockScreen(options: RequestSizeOptions.RESIZE_CENTRE_CROP); + await Wallpaper.lockScreen(options: RequestSizeOptions.RESIZE_EXACT); done.value = true; }, onError: (error) { downloading.value = false;