migration done

This commit is contained in:
Fabian Freund
2025-09-19 11:50:34 +02:00
parent b01012c76c
commit 79da47d11b
198 changed files with 17341 additions and 15711 deletions
@@ -51,7 +51,7 @@ class CompletePageInfo extends _$CompletePageInfo {
pageInfoProvider(cached.url, isImageRequest: false),
(previous, next) {
if (next.hasValue) {
final current = stateOrNull?.valueOrNull ?? cached;
final current = stateOrNull?.value ?? cached;
state = AsyncData(
current.copyWith(
@@ -79,7 +79,7 @@ class CompletePageInfo extends _$CompletePageInfo {
tabStateProvider(cached.id).select((value) => value?.title.whenNotEmpty),
(previous, next) {
if (next != null) {
final current = stateOrNull?.valueOrNull ?? cached;
final current = stateOrNull?.value ?? cached;
state = AsyncData(current.copyWith.title(next));
}
},
@@ -90,7 +90,7 @@ class CompletePageInfo extends _$CompletePageInfo {
tabStateProvider(cached.id).select((value) => value?.favicon),
(previous, next) {
if (next != null) {
final current = stateOrNull?.valueOrNull ?? cached;
final current = stateOrNull?.value ?? cached;
state = AsyncData(current.copyWith.favicon(next));
}
},