10 lines
363 B
Dart
10 lines
363 B
Dart
import 'package:mangayomi/eval/lib.dart';
|
|
import 'package:mangayomi/models/source.dart';
|
|
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
part 'supports_latest.g.dart';
|
|
|
|
@riverpod
|
|
bool supportsLatest(Ref ref, {required Source source}) {
|
|
return getExtensionService(source).supportsLatest;
|
|
}
|