chore: placeholder fade off / write to cache always

This commit is contained in:
2025-05-16 12:58:45 +01:00
parent c7435d5772
commit b630b59e53
2 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,8 @@ class ProxyImg extends StatelessWidget {
width: width,
height: height,
fit: BoxFit.cover,
placeholderFadeInDuration: Duration.zero,
fadeOutDuration: Duration.zero,
placeholder:
(ctx, url) =>
SvgPicture.asset("assets/svg/logo.svg", height: placeholderSize),

View File

@ -40,6 +40,7 @@ class _RxFilter<T> extends State<RxFilter<T>> {
_response = ndk.requests.subscription(
filters: widget.filters,
explicitRelays: widget.relays,
cacheWrite: true
);
if (!widget.leaveOpen) {
_response.future.then((_) {