From 7614da00b1873e4360955867905089531f5bdc53 Mon Sep 17 00:00:00 2001 From: otsmr Date: Sun, 17 May 2026 21:33:41 +0200 Subject: [PATCH] Issue with opening directly in chats --- CHANGELOG.md | 4 ++-- lib/src/visual/views/home.view.dart | 3 +++ pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d80606f..7cb6b10d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ # Changelog -## 0.2.14 +## 0.2.15 - Fix: Issue with opening directly in chats -- Fix: Multipe smaller issues +- Fix: Multiple smaller issues ## 0.2.13 diff --git a/lib/src/visual/views/home.view.dart b/lib/src/visual/views/home.view.dart index 79963a6a..aa955f89 100644 --- a/lib/src/visual/views/home.view.dart +++ b/lib/src/visual/views/home.view.dart @@ -58,6 +58,8 @@ class HomeViewState extends State { initialPage = 0; } _activePageIdx = initialPage; + _offsetFromOne = 1.0 - initialPage; + _offsetRatio = _offsetFromOne.abs(); _homeViewPageController = PageController(initialPage: initialPage); _mainCameraController.setState = () { @@ -94,6 +96,7 @@ class HomeViewState extends State { if (initialPage == 1) { unawaited(_mainCameraController.selectCamera(0, true)); } + unawaited(_initAsync()); // Subscribe to all events (initial link and further) diff --git a/pubspec.yaml b/pubspec.yaml index 8daa25c2..dcf2d3af 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.2.14+123 +version: 0.2.15+124 environment: sdk: ^3.11.0