mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Improve dark theme
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:comunic/helpers/preferences_helper.dart';
|
||||
import 'package:comunic/utils/intl_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:html/parser.dart';
|
||||
@ -179,3 +180,9 @@ String htmlDecodeCharacters(String input) {
|
||||
|
||||
return parse(input).documentElement.text;
|
||||
}
|
||||
|
||||
|
||||
const darkAccentColor = Colors.white70;
|
||||
|
||||
/// Check out whether dark theme is enabled or not
|
||||
bool darkTheme() => preferences().getBool(PreferencesKeyList.ENABLE_DARK_THEME);
|
||||
|
Reference in New Issue
Block a user