fix analyzer and add changelog

This commit is contained in:
otsmr 2026-02-21 01:20:17 +01:00
parent 30db0a1ff5
commit 15096056c0
10 changed files with 25 additions and 2 deletions

View file

@ -1,5 +1,16 @@
# Changelog
## 0.0.93
- Feature: Verification checkmark for friends
- Fix: Added contacts in contact sharing where not click able
- Fix: Restore flames as a plus user
- Fix: Route not found when sharing image
- Fix: Increase recent limit in emoji keyboard
- Fix: Increase show time of the focus indication
- Fix: Quoted text message not shown properly
## 0.0.92
- Adds the option to share contacts

View file

@ -11,6 +11,7 @@ analyzer:
avoid_positional_boolean_parameters: ignore
inference_failure_on_collection_literal: ignore
matching_super_parameters: ignore
parameter_assignments: ignore
exclude:
- "lib/src/model/protobuf/**"
- "lib/src/model/protobuf/api/websocket/**"

View file

@ -69,12 +69,14 @@ Future<(Uint8List, Uint8List?)?> tryToSendCompleteMessage({
try {
if (receiptId == null && receipt == null) return null;
if (receipt == null) {
// ignore: parameter_assignments
receipt = await twonlyDB.receiptsDao.getReceiptById(receiptId!);
if (receipt == null) {
Log.warn('Receipt not found.');
return null;
}
}
// ignore: parameter_assignments
receiptId = receipt.receiptId;
final contact =

View file

@ -131,7 +131,6 @@ class _MediaViewerViewState extends State<MediaViewerView> {
}
setState(() {});
if (firstRun) {
// ignore: parameter_assignments
firstRun = false;
await loadCurrentMediaFile();
}

View file

@ -1,3 +1,5 @@
// ignore_for_file: parameter_assignments
import 'dart:async';
import 'package:drift/drift.dart' hide Column;
import 'package:flutter/material.dart';

View file

@ -1,3 +1,5 @@
// ignore_for_file: parameter_assignments
import 'dart:async';
import 'dart:collection';
import 'package:flutter/material.dart';

View file

@ -1,3 +1,5 @@
// ignore_for_file: parameter_assignments
import 'dart:async';
import 'package:clock/clock.dart';
import 'package:flutter/material.dart';

View file

@ -1,4 +1,4 @@
// ignore_for_file: avoid_dynamic_calls
// ignore_for_file: parameter_assignments, avoid_dynamic_calls
import 'dart:async';
import 'dart:convert';

View file

@ -1,3 +1,5 @@
// ignore_for_file: parameter_assignments
import 'dart:async';
import 'dart:collection';
import 'package:flutter/material.dart';

View file

@ -1,3 +1,5 @@
// ignore_for_file: parameter_assignments
import 'dart:async';
import 'dart:collection';
import 'package:flutter/material.dart';