Fix code gen bug
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
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();
|
||||
final translationsProvider = Provider<TranslationsEn>(
|
||||
(ref) => ref.watch(localeControllerProvider).translations(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user