mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 12:16:47 +00:00
fix analyzer and add changelog
This commit is contained in:
parent
30db0a1ff5
commit
15096056c0
10 changed files with 25 additions and 2 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
|
@ -1,5 +1,16 @@
|
||||||
# Changelog
|
# 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
|
## 0.0.92
|
||||||
|
|
||||||
- Adds the option to share contacts
|
- Adds the option to share contacts
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ analyzer:
|
||||||
avoid_positional_boolean_parameters: ignore
|
avoid_positional_boolean_parameters: ignore
|
||||||
inference_failure_on_collection_literal: ignore
|
inference_failure_on_collection_literal: ignore
|
||||||
matching_super_parameters: ignore
|
matching_super_parameters: ignore
|
||||||
|
parameter_assignments: ignore
|
||||||
exclude:
|
exclude:
|
||||||
- "lib/src/model/protobuf/**"
|
- "lib/src/model/protobuf/**"
|
||||||
- "lib/src/model/protobuf/api/websocket/**"
|
- "lib/src/model/protobuf/api/websocket/**"
|
||||||
|
|
|
||||||
|
|
@ -69,12 +69,14 @@ Future<(Uint8List, Uint8List?)?> tryToSendCompleteMessage({
|
||||||
try {
|
try {
|
||||||
if (receiptId == null && receipt == null) return null;
|
if (receiptId == null && receipt == null) return null;
|
||||||
if (receipt == null) {
|
if (receipt == null) {
|
||||||
|
// ignore: parameter_assignments
|
||||||
receipt = await twonlyDB.receiptsDao.getReceiptById(receiptId!);
|
receipt = await twonlyDB.receiptsDao.getReceiptById(receiptId!);
|
||||||
if (receipt == null) {
|
if (receipt == null) {
|
||||||
Log.warn('Receipt not found.');
|
Log.warn('Receipt not found.');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// ignore: parameter_assignments
|
||||||
receiptId = receipt.receiptId;
|
receiptId = receipt.receiptId;
|
||||||
|
|
||||||
final contact =
|
final contact =
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,6 @@ class _MediaViewerViewState extends State<MediaViewerView> {
|
||||||
}
|
}
|
||||||
setState(() {});
|
setState(() {});
|
||||||
if (firstRun) {
|
if (firstRun) {
|
||||||
// ignore: parameter_assignments
|
|
||||||
firstRun = false;
|
firstRun = false;
|
||||||
await loadCurrentMediaFile();
|
await loadCurrentMediaFile();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// ignore_for_file: parameter_assignments
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'package:drift/drift.dart' hide Column;
|
import 'package:drift/drift.dart' hide Column;
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// ignore_for_file: parameter_assignments
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:collection';
|
import 'dart:collection';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// ignore_for_file: parameter_assignments
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'package:clock/clock.dart';
|
import 'package:clock/clock.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// ignore_for_file: avoid_dynamic_calls
|
// ignore_for_file: parameter_assignments, avoid_dynamic_calls
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// ignore_for_file: parameter_assignments
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:collection';
|
import 'dart:collection';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// ignore_for_file: parameter_assignments
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:collection';
|
import 'dart:collection';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue