From db22b4fcce86ae1ed0aaa208140fd0f630056fe4 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Fri, 5 Sep 2025 23:39:07 +0600 Subject: [PATCH] chore: syntax errors --- lib/modules/root/sidebar/sidebar.dart | 2 +- lib/pages/getting_started/sections/greeting.dart | 2 +- lib/pages/home/home.dart | 2 +- lib/pages/settings/about.dart | 2 +- lib/provider/metadata_plugin/metadata_plugin_provider.dart | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/modules/root/sidebar/sidebar.dart b/lib/modules/root/sidebar/sidebar.dart index 65c91527..2b04b703 100644 --- a/lib/modules/root/sidebar/sidebar.dart +++ b/lib/modules/root/sidebar/sidebar.dart @@ -26,7 +26,7 @@ class Sidebar extends HookConsumerWidget { color: Colors.black, borderRadius: BorderRadius.circular(50), ), - child: Assets.branding.spotubeLogo.image( + child: Assets.branding.spotubeLogoPng.image( height: 50, cacheHeight: (100 * MediaQuery.devicePixelRatioOf(context)).toInt(), ), diff --git a/lib/pages/getting_started/sections/greeting.dart b/lib/pages/getting_started/sections/greeting.dart index a65ade77..68903e07 100644 --- a/lib/pages/getting_started/sections/greeting.dart +++ b/lib/pages/getting_started/sections/greeting.dart @@ -17,7 +17,7 @@ class GettingStartedPageGreetingSection extends HookConsumerWidget { child: Column( mainAxisSize: MainAxisSize.min, children: [ - Assets.branding.spotubeLogo.image(height: 200), + Assets.branding.spotubeLogoPng.image(height: 200), const Gap(24), const Text("Spotube").semiBold().h4(), const Gap(4), diff --git a/lib/pages/home/home.dart b/lib/pages/home/home.dart index faf46b3a..cdf057cf 100644 --- a/lib/pages/home/home.dart +++ b/lib/pages/home/home.dart @@ -45,7 +45,7 @@ class HomePage extends HookConsumerWidget { floating: true, title: Image.asset( theme.brightness == Brightness.dark - ? Assets.branding.spotubeLogo.path + ? Assets.branding.spotubeLogoPng.path : Assets.branding.spotubeLogoLight.path, height: 45, width: 45, diff --git a/lib/pages/settings/about.dart b/lib/pages/settings/about.dart index 12e7ba44..5a95c0eb 100644 --- a/lib/pages/settings/about.dart +++ b/lib/pages/settings/about.dart @@ -45,7 +45,7 @@ class AboutSpotubePage extends HookConsumerWidget { padding: const EdgeInsets.symmetric(horizontal: 16.0), child: Column( children: [ - Assets.branding.spotubeLogo.image( + Assets.branding.spotubeLogoPng.image( height: 200, width: 200, ), diff --git a/lib/provider/metadata_plugin/metadata_plugin_provider.dart b/lib/provider/metadata_plugin/metadata_plugin_provider.dart index 9af0951e..b61c0255 100644 --- a/lib/provider/metadata_plugin/metadata_plugin_provider.dart +++ b/lib/provider/metadata_plugin/metadata_plugin_provider.dart @@ -348,7 +348,7 @@ class MetadataPluginNotifier extends AsyncNotifier { entryPoint: plugin.entryPoint, apis: plugin.apis.map((e) => e.name).toList(), abilities: plugin.abilities.map((e) => e.name).toList(), - pluginApiVersion: plugin.pluginApiVersion, + pluginApiVersion: Value(plugin.pluginApiVersion), repository: Value(plugin.repository), ), );