mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 06:19:35 +00:00
hive切换hive_ce
This commit is contained in:
parent
3362a254ff
commit
6efa41e035
30 changed files with 1403 additions and 2566 deletions
|
|
@ -20,7 +20,7 @@ final _logger = Logger('authenticated_users_provider');
|
|||
class AuthenticatedUsers extends _$AuthenticatedUsers {
|
||||
@override
|
||||
Set<model.AuthenticatedUser> build() {
|
||||
ref.listenSelf((_, __) {
|
||||
listenSelf((_, __) {
|
||||
writeStateToBox();
|
||||
});
|
||||
// get the app settings
|
||||
|
|
@ -35,7 +35,7 @@ class AuthenticatedUsers extends _$AuthenticatedUsers {
|
|||
|
||||
Set<model.AuthenticatedUser> readFromBoxOrCreate() {
|
||||
if (_box.isNotEmpty) {
|
||||
final foundData = _box.getRange(0, _box.length);
|
||||
final foundData = _box.values.toList();
|
||||
_logger.fine(
|
||||
'found users in box: ${foundData.obfuscate()}',
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue