Merge pull request #413 from twonlyapp/dev
Some checks failed
Publish on Github / build_and_publish (push) Has been cancelled

Issue with opening directly in chats
This commit is contained in:
Tobi 2026-05-17 21:34:16 +02:00 committed by GitHub
commit bfde01cbc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View file

@ -1,9 +1,9 @@
# Changelog # Changelog
## 0.2.14 ## 0.2.15
- Fix: Issue with opening directly in chats - Fix: Issue with opening directly in chats
- Fix: Multipe smaller issues - Fix: Multiple smaller issues
## 0.2.13 ## 0.2.13

View file

@ -58,6 +58,8 @@ class HomeViewState extends State<HomeView> {
initialPage = 0; initialPage = 0;
} }
_activePageIdx = initialPage; _activePageIdx = initialPage;
_offsetFromOne = 1.0 - initialPage;
_offsetRatio = _offsetFromOne.abs();
_homeViewPageController = PageController(initialPage: initialPage); _homeViewPageController = PageController(initialPage: initialPage);
_mainCameraController.setState = () { _mainCameraController.setState = () {
@ -94,6 +96,7 @@ class HomeViewState extends State<HomeView> {
if (initialPage == 1) { if (initialPage == 1) {
unawaited(_mainCameraController.selectCamera(0, true)); unawaited(_mainCameraController.selectCamera(0, true));
} }
unawaited(_initAsync()); unawaited(_initAsync());
// Subscribe to all events (initial link and further) // Subscribe to all events (initial link and further)

View file

@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
publish_to: 'none' publish_to: 'none'
version: 0.2.14+123 version: 0.2.15+124
environment: environment:
sdk: ^3.11.0 sdk: ^3.11.0