From 82a5af91703262ad76ba0eb0c34cf95a14e952d9 Mon Sep 17 00:00:00 2001 From: "Aamir.Muhammad" <> Date: Tue, 2 Jul 2024 15:59:00 +0300 Subject: [PATCH] User Profile API's & Image --- ios/Flutter/AppFrameworkInfo.plist | 2 +- lib/main.dart | 2 +- lib/views/dashboard/dashboard_page.dart | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist index 9625e10..7c56964 100644 --- a/ios/Flutter/AppFrameworkInfo.plist +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/lib/main.dart b/lib/main.dart index 1e261f8..b77fab5 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -51,7 +51,7 @@ Future main() async { ), ), ChangeNotifierProvider( - create: (_) => UserVM(userRepo: injector.get()), + create: (_) => UserVM(userRepo: injector.get(), commanServices: injector.get()), ), ChangeNotifierProvider( create: (_) => AdVM( diff --git a/lib/views/dashboard/dashboard_page.dart b/lib/views/dashboard/dashboard_page.dart index 2eb1ad0..ba6c010 100644 --- a/lib/views/dashboard/dashboard_page.dart +++ b/lib/views/dashboard/dashboard_page.dart @@ -135,7 +135,6 @@ class _DashboardPageState extends State { backgroundColor: null, leadingWidth: 100, title: getPageTitle(dashboardVM.selectedNavbarBarIndex), - profileImageUrl: MyAssets.bnCar, isRemoveBackButton: true, isDrawerEnabled: isHomePage ? true : false, onTap: () {