readFollowSystem method

Future<bool?> readFollowSystem()

Read the follow system theme preference.

Implementation

Future<bool?> readFollowSystem() async {
  final value = await _secureStorage.read(key: _followSystemKey);
  if (value == null) return null;
  return value.toLowerCase() == 'true';
}