Formatting
This commit is contained in:
parent
d4e57f493e
commit
fe4726986f
|
@ -8,8 +8,6 @@ import 'package:flutter/services.dart';
|
|||
import 'package:yaml/yaml.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
|
||||
|
||||
Future<Map<String, Map<String, OpaqueThemeType>>> loadYamlThemes() async {
|
||||
final manifestJson = await rootBundle.loadString('AssetManifest.json');
|
||||
final themesList = json.decode(manifestJson).keys.where((String key) => key.startsWith('assets/themes'));
|
||||
|
|
|
@ -116,8 +116,8 @@ class _MessageListState extends State<MessageList> {
|
|||
// Only show broken heart is the contact is offline...
|
||||
decoration: BoxDecoration(
|
||||
image: Provider.of<ContactInfoState>(outerContext).isOnline()
|
||||
? (Provider.of<Settings>(context).theme.chatImage != null) ?
|
||||
DecorationImage(
|
||||
? (Provider.of<Settings>(context).theme.chatImage != null)
|
||||
? DecorationImage(
|
||||
repeat: ImageRepeat.repeat,
|
||||
image: AssetImage(Provider.of<Settings>(context).theme.chatImage),
|
||||
colorFilter: ColorFilter.mode(Provider.of<Settings>(context).theme.hilightElementColor.withOpacity(0.15), BlendMode.srcIn))
|
||||
|
|
Loading…
Reference in New Issue