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 # Changelog
## 0.3.7
- Fix: Multiple UI issues
## 0.3.6 ## 0.3.6
- Improve: Visibility of the verification badge - Improve: Visibility of the verification badge

View file

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

View file

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