1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-17 19:09:07 +01:00
lemmur-app-android/lib/hooks/stores.dart
2020-09-16 23:15:42 +02:00

9 lines
312 B
Dart

import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:provider/provider.dart';
import '../stores/accounts_store.dart';
import '../stores/config_store.dart';
AccountsStore useAccountsStore() => useContext().watch<AccountsStore>();
ConfigStore useConfigStore() => useContext().watch<ConfigStore>();