mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: fix icon asset name
This commit is contained in:
parent
5567214588
commit
7143913bba
@ -158,7 +158,10 @@ class Assets {
|
|||||||
AssetGenImage('assets/spotube-logo-light.png');
|
AssetGenImage('assets/spotube-logo-light.png');
|
||||||
static const AssetGenImage spotubeLogoMacos =
|
static const AssetGenImage spotubeLogoMacos =
|
||||||
AssetGenImage('assets/spotube-logo-macos.png');
|
AssetGenImage('assets/spotube-logo-macos.png');
|
||||||
static const AssetGenImage spotubeLogo =
|
static const AssetGenImage spotubeLogoBmp =
|
||||||
|
AssetGenImage('assets/spotube-logo.bmp');
|
||||||
|
static const String spotubeLogoIco = 'assets/spotube-logo.ico';
|
||||||
|
static const AssetGenImage spotubeLogoPng =
|
||||||
AssetGenImage('assets/spotube-logo.png');
|
AssetGenImage('assets/spotube-logo.png');
|
||||||
static const AssetGenImage spotubeLogoAndroid12 =
|
static const AssetGenImage spotubeLogoAndroid12 =
|
||||||
AssetGenImage('assets/spotube-logo_android12.png');
|
AssetGenImage('assets/spotube-logo_android12.png');
|
||||||
@ -168,8 +171,20 @@ class Assets {
|
|||||||
AssetGenImage('assets/spotube-nightly-logo-foreground.png');
|
AssetGenImage('assets/spotube-nightly-logo-foreground.png');
|
||||||
static const String spotubeNightlyLogoForegroundSvg =
|
static const String spotubeNightlyLogoForegroundSvg =
|
||||||
'assets/spotube-nightly-logo-foreground.svg';
|
'assets/spotube-nightly-logo-foreground.svg';
|
||||||
|
static const AssetGenImage spotubeNightlyLogo =
|
||||||
|
AssetGenImage('assets/spotube-nightly-logo.png');
|
||||||
|
static const AssetGenImage spotubeNightlyLogoAndroid12 =
|
||||||
|
AssetGenImage('assets/spotube-nightly-logo_android12.png');
|
||||||
static const AssetGenImage spotubeScreenshot =
|
static const AssetGenImage spotubeScreenshot =
|
||||||
AssetGenImage('assets/spotube-screenshot.png');
|
AssetGenImage('assets/spotube-screenshot.png');
|
||||||
|
static const AssetGenImage spotubeTallCapsule =
|
||||||
|
AssetGenImage('assets/spotube-tall-capsule.png');
|
||||||
|
static const AssetGenImage spotubeWideCapsuleLarge =
|
||||||
|
AssetGenImage('assets/spotube-wide-capsule-large.png');
|
||||||
|
static const AssetGenImage spotubeWideCapsuleSmall =
|
||||||
|
AssetGenImage('assets/spotube-wide-capsule-small.png');
|
||||||
|
static const AssetGenImage spotubeBanner =
|
||||||
|
AssetGenImage('assets/spotube_banner.png');
|
||||||
static const AssetGenImage success = AssetGenImage('assets/success.png');
|
static const AssetGenImage success = AssetGenImage('assets/success.png');
|
||||||
static const $AssetsTutorialGen tutorial = $AssetsTutorialGen();
|
static const $AssetsTutorialGen tutorial = $AssetsTutorialGen();
|
||||||
static const AssetGenImage userPlaceholder =
|
static const AssetGenImage userPlaceholder =
|
||||||
@ -191,12 +206,20 @@ class Assets {
|
|||||||
spotubeLogoItem,
|
spotubeLogoItem,
|
||||||
spotubeLogoLight,
|
spotubeLogoLight,
|
||||||
spotubeLogoMacos,
|
spotubeLogoMacos,
|
||||||
spotubeLogo,
|
spotubeLogoBmp,
|
||||||
|
spotubeLogoIco,
|
||||||
|
spotubeLogoPng,
|
||||||
spotubeLogoAndroid12,
|
spotubeLogoAndroid12,
|
||||||
spotubeNightlyItem,
|
spotubeNightlyItem,
|
||||||
spotubeNightlyLogoForegroundPng,
|
spotubeNightlyLogoForegroundPng,
|
||||||
spotubeNightlyLogoForegroundSvg,
|
spotubeNightlyLogoForegroundSvg,
|
||||||
|
spotubeNightlyLogo,
|
||||||
|
spotubeNightlyLogoAndroid12,
|
||||||
spotubeScreenshot,
|
spotubeScreenshot,
|
||||||
|
spotubeTallCapsule,
|
||||||
|
spotubeWideCapsuleLarge,
|
||||||
|
spotubeWideCapsuleSmall,
|
||||||
|
spotubeBanner,
|
||||||
success,
|
success,
|
||||||
userPlaceholder
|
userPlaceholder
|
||||||
];
|
];
|
||||||
|
@ -26,7 +26,7 @@ class Sidebar extends HookConsumerWidget {
|
|||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
borderRadius: BorderRadius.circular(50),
|
borderRadius: BorderRadius.circular(50),
|
||||||
),
|
),
|
||||||
child: Assets.spotubeLogo.image(
|
child: Assets.spotubeLogoPng.image(
|
||||||
height: 50,
|
height: 50,
|
||||||
cacheHeight: (100 * MediaQuery.devicePixelRatioOf(context)).toInt(),
|
cacheHeight: (100 * MediaQuery.devicePixelRatioOf(context)).toInt(),
|
||||||
),
|
),
|
||||||
|
@ -17,7 +17,7 @@ class GettingStartedPageGreetingSection extends HookConsumerWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Assets.spotubeLogo.image(height: 200),
|
Assets.spotubeLogoPng.image(height: 200),
|
||||||
const Gap(24),
|
const Gap(24),
|
||||||
const Text("Spotube").semiBold().h4(),
|
const Text("Spotube").semiBold().h4(),
|
||||||
const Gap(4),
|
const Gap(4),
|
||||||
|
@ -50,7 +50,7 @@ class HomePage extends HookConsumerWidget {
|
|||||||
floating: true,
|
floating: true,
|
||||||
title: Image.asset(
|
title: Image.asset(
|
||||||
theme.brightness == Brightness.dark
|
theme.brightness == Brightness.dark
|
||||||
? Assets.spotubeLogo.path
|
? Assets.spotubeLogoPng.path
|
||||||
: Assets.spotubeLogoLight.path,
|
: Assets.spotubeLogoLight.path,
|
||||||
height: 45,
|
height: 45,
|
||||||
width: 45,
|
width: 45,
|
||||||
|
@ -45,7 +45,7 @@ class AboutSpotubePage extends HookConsumerWidget {
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Assets.spotubeLogo.image(
|
Assets.spotubeLogoPng.image(
|
||||||
height: 200,
|
height: 200,
|
||||||
width: 200,
|
width: 200,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user