This commit is contained in:
rang 2025-12-24 18:02:24 +08:00
parent 04fe06d1ac
commit bd9e985697
13 changed files with 1036 additions and 878 deletions

View file

@ -17,7 +17,7 @@ class ApiSettings extends _$ApiSettings {
@override
model.ApiSettings build() {
state = readFromBoxOrCreate();
ref.listenSelf((_, __) {
listenSelf((_, __) {
writeToBox();
});

View file

@ -6,7 +6,7 @@ part of 'api_settings_provider.dart';
// RiverpodGenerator
// **************************************************************************
String _$apiSettingsHash() => r'd7aff154cb65b0396df3ccfe25c59dedb56226fa';
String _$apiSettingsHash() => r'304f1040bd8f308f9cd0fe7f03e44d0daeebbb5f';
/// See also [ApiSettings].
@ProviderFor(ApiSettings)