From 7007e7b0637ba56ff14e402b711b2006b8a99396 Mon Sep 17 00:00:00 2001 From: otsmr Date: Mon, 22 Dec 2025 15:08:11 +0100 Subject: [PATCH] fix null pointer --- lib/src/views/memories/memories.view.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/views/memories/memories.view.dart b/lib/src/views/memories/memories.view.dart index 524cd5d..3d48f82 100644 --- a/lib/src/views/memories/memories.view.dart +++ b/lib/src/views/memories/memories.view.dart @@ -145,6 +145,6 @@ class MemoriesViewState extends State { // reverseTransitionDuration: Duration.zero, ), ) as bool?; - setState(() {}); + if (mounted) setState(() {}); } } diff --git a/pubspec.yaml b/pubspec.yaml index 63a5f86..c7f18c8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec publish_to: 'none' -version: 0.0.78+78 +version: 0.0.79+79 environment: sdk: ^3.6.0