bump version
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled

This commit is contained in:
otsmr 2026-07-13 23:19:48 +02:00
parent 722466cc34
commit 9a579e818c
4 changed files with 25 additions and 18 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## 0.3.7
- Fix: Multiple UI issues
## 0.3.6
- Improve: Visibility of the verification badge

View file

@ -1,9 +1,9 @@
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
import 'package:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_sharing_intent/flutter_sharing_intent.dart';
import 'package:flutter_sharing_intent/model/sharing_file.dart';
@ -32,7 +32,8 @@ Future<bool> handleIntentUrl(BuildContext context, Uri uri) async {
// Check if this is the QR code link which was
// therefore scanned with the system camera
if (uri.toString().startsWith(PasswordlessRecoveryService.linkPrefix)) {
if (kDebugMode &&
uri.toString().startsWith(PasswordlessRecoveryService.linkPrefix)) {
await PasswordlessRecoveryService.handleRecoveryLink(uri.toString());
return true;
}

View file

@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:go_router/go_router.dart';
@ -167,22 +168,23 @@ class _BackupRecoveryViewState extends State<BackupRecoveryView> {
: Text(context.lang.twonlySafeRecoverBtn),
),
const SizedBox(height: 16),
MyButton(
variant: MyButtonVariant.secondary,
onPressed: () async {
await KeyValueStore.update<OnboardingState>(
key: KeyValueKeys.onboardingState,
update: (state) =>
state.hasStartedPasswordlessRecovery = true,
);
if (context.mounted) {
await context.push(Routes.recoverPasswordless);
}
},
child: Text(
context.lang.passwordlessRecoveryRecoverBtn,
if (kDebugMode)
MyButton(
variant: MyButtonVariant.secondary,
onPressed: () async {
await KeyValueStore.update<OnboardingState>(
key: KeyValueKeys.onboardingState,
update: (state) =>
state.hasStartedPasswordlessRecovery = true,
);
if (context.mounted) {
await context.push(Routes.recoverPasswordless);
}
},
child: Text(
context.lang.passwordlessRecoveryRecoverBtn,
),
),
),
const Spacer(),
const SizedBox(height: 40),
],

View file

@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
publish_to: 'none'
version: 0.3.6+152
version: 0.3.7+153
environment:
sdk: ^3.11.0