mirror of
https://github.com/hiddify/hiddify-next.git
synced 2026-06-05 21:05:07 +08:00
fix
This commit is contained in:
parent
f73df923d0
commit
53dd6ac96c
@ -281,7 +281,6 @@ class HiddifyCoreService with InfraLogger {
|
||||
// yield* core.bgClient.outboundsInfo(Empty()).throttleTime(const Duration(seconds: 4), leading: false, trailing: true).map((event) => event.items.isEmpty ? null : event.items.first);
|
||||
}
|
||||
|
||||
@riverpod
|
||||
Stream<List<OutboundGroup>> watchActiveGroups() async* {
|
||||
loggy.info("watching active groups");
|
||||
|
||||
@ -301,7 +300,6 @@ class HiddifyCoreService with InfraLogger {
|
||||
//
|
||||
// Stream<SingboxStatus> watchStatus() => _status;
|
||||
|
||||
@riverpod
|
||||
ResponseStream<SystemInfo> watchStats() {
|
||||
loggy.debug("watching stats");
|
||||
try {
|
||||
|
||||
@ -7,7 +7,7 @@ import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
|
||||
part 'hiddify_core_service_provider.g.dart';
|
||||
|
||||
@Riverpod(keepAlive: true, dependencies: [AppDirectories, DebugModeNotifier, InAppNotificationController])
|
||||
@Riverpod(keepAlive: true, dependencies: [AppDirectories, DebugModeNotifier, inAppNotificationController])
|
||||
HiddifyCoreService hiddifyCoreService(Ref ref) {
|
||||
return HiddifyCoreService(ref);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user