initial
This commit is contained in:
8
lib/core/core_providers.dart
Normal file
8
lib/core/core_providers.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
import 'package:hiddify/core/locale/locale.dart';
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
|
||||
part 'core_providers.g.dart';
|
||||
|
||||
@Riverpod(keepAlive: true)
|
||||
TranslationsEn translations(TranslationsRef ref) =>
|
||||
ref.watch(localeControllerProvider).translations();
|
||||
Reference in New Issue
Block a user