From 0d44954164c95333a9d538b0f1b9fefd6e38c842 Mon Sep 17 00:00:00 2001 From: Tihanyi Marcell Date: Fri, 3 May 2024 22:42:51 +0200 Subject: [PATCH] Some fix to make flutter not cry about it --- lib/helpers/app_icon_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/app_icon_helper.dart b/lib/helpers/app_icon_helper.dart index 121a5ff..05776b5 100644 --- a/lib/helpers/app_icon_helper.dart +++ b/lib/helpers/app_icon_helper.dart @@ -8,7 +8,7 @@ class AppIconHelper { static Future setAppIcon(String iconName) async { try { if (await FlutterDynamicIconPlus.supportsAlternateIcons) { - await FlutterDynamicIconPlus.setAlternateIconName("icon_new"); + await FlutterDynamicIconPlus.setAlternateIconName(iconName: "icon_new"); if (kDebugMode) { print("successfully changed app icon"); }