asset paths fixed
This commit is contained in:
parent
80458c9ba8
commit
98e1e50891
|
|
@ -29,10 +29,10 @@ class Assets {
|
||||||
static String get techCategoryIcon =>
|
static String get techCategoryIcon =>
|
||||||
_baseImagesPath + '/categories/tech-$_themeSuffix.svg';
|
_baseImagesPath + '/categories/tech-$_themeSuffix.svg';
|
||||||
|
|
||||||
static const String lightTheme = _baseThemesPath + '/light-theme.svg';
|
static const String lightTheme = _baseThemesPath + '/theme-light.svg';
|
||||||
static const String darkTheme = _baseThemesPath + '/dark-theme.svg';
|
static const String darkTheme = _baseThemesPath + '/theme-dark.svg';
|
||||||
|
|
||||||
static String get recordDark => _baseRecordsPath + '/$_themeSuffix-theme.svg';
|
static String get record => _baseRecordsPath + '/record-$_themeSuffix.svg';
|
||||||
|
|
||||||
static String get _themeSuffix =>
|
static String get _themeSuffix =>
|
||||||
DesignConfig.brightness == Brightness.dark ? 'dark' : 'light';
|
DesignConfig.brightness == Brightness.dark ? 'dark' : 'light';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue