asset paths fixed

This commit is contained in:
MohammadTaha Basiri 2022-01-02 15:09:47 +03:30
parent 80458c9ba8
commit 98e1e50891
1 changed files with 3 additions and 3 deletions

View File

@ -29,10 +29,10 @@ class Assets {
static String get techCategoryIcon =>
_baseImagesPath + '/categories/tech-$_themeSuffix.svg';
static const String lightTheme = _baseThemesPath + '/light-theme.svg';
static const String darkTheme = _baseThemesPath + '/dark-theme.svg';
static const String lightTheme = _baseThemesPath + '/theme-light.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 =>
DesignConfig.brightness == Brightness.dark ? 'dark' : 'light';