Files
umbrix/lib/features/connection/data/connection_data_providers.dart
Umbrix Developer 76a374950f feat: mobile-like window size and always-visible stats
- Changed window size to mobile phone format (400x800)
- Removed width condition for ActiveProxyFooter - now always visible
- Added run-umbrix.sh launch script with icon copying
- Stats cards now display on all screen sizes
2026-01-17 13:09:20 +03:00

24 lines
1015 B
Dart

import 'package:umbrix/core/directories/directories_provider.dart';
import 'package:umbrix/features/config_option/data/config_option_data_providers.dart';
import 'package:umbrix/features/connection/data/connection_platform_source.dart';
import 'package:umbrix/features/connection/data/connection_repository.dart';
import 'package:umbrix/features/profile/data/profile_data_providers.dart';
import 'package:umbrix/singbox/service/singbox_service_provider.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'connection_data_providers.g.dart';
@Riverpod(keepAlive: true)
ConnectionRepository connectionRepository(
ConnectionRepositoryRef ref,
) {
return ConnectionRepositoryImpl(
directories: ref.watch(appDirectoriesProvider).requireValue,
configOptionRepository: ref.watch(configOptionRepositoryProvider),
singbox: ref.watch(singboxServiceProvider),
platformSource: ConnectionPlatformSourceImpl(),
profilePathResolver: ref.watch(profilePathResolverProvider),
);
}