mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-14 11:27:43 +00:00
chore: placeholder fade off / write to cache always
This commit is contained in:
@ -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),
|
||||
|
@ -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((_) {
|
||||
|
Reference in New Issue
Block a user