fix in share provider

This commit is contained in:
Kima 2023-09-09 00:02:57 +02:00
parent 67721112cc
commit eb20fc1457
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,13 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/kima/src/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/kima/Documents/refilc/app/naplo/filcnaplo"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=4.2.2"
export "FLUTTER_BUILD_NUMBER=222"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.dart_tool/package_config.json"

View File

@ -33,8 +33,9 @@ class ShareProvider extends ChangeNotifier {
SettingsProvider.defaultSettings().customHighlightColor) SettingsProvider.defaultSettings().customHighlightColor)
?.value, ?.value,
'accent_color': (settings.customAccentColor ?? 'accent_color': (settings.customAccentColor ??
SettingsProvider.defaultSettings().customAccentColor) SettingsProvider.defaultSettings().customAccentColor)
?.value, ?.value ??
const Color(0xFF3D7BF4).value,
}; };
SharedTheme theme = SharedTheme.fromJson(themeJson); SharedTheme theme = SharedTheme.fromJson(themeJson);