mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 07:48:40 +00:00
fixing analyse complaints
This commit is contained in:
parent
ba1913d737
commit
b2f1f1104a
4 changed files with 13 additions and 5 deletions
|
|
@ -158,10 +158,14 @@ class TwonlyDatabase extends _$TwonlyDatabase {
|
|||
await m.deleteTable('media_downloads');
|
||||
},
|
||||
from16To17: (m, schema) async {
|
||||
await m.addColumn(schema.messageRetransmissions,
|
||||
schema.messageRetransmissions.lastRetry);
|
||||
await m.addColumn(schema.messageRetransmissions,
|
||||
schema.messageRetransmissions.retryCount);
|
||||
await m.addColumn(
|
||||
schema.messageRetransmissions,
|
||||
schema.messageRetransmissions.lastRetry,
|
||||
);
|
||||
await m.addColumn(
|
||||
schema.messageRetransmissions,
|
||||
schema.messageRetransmissions.retryCount,
|
||||
);
|
||||
},
|
||||
),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// ignore_for_file: deprecated_member_use
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class RadioButton<T> extends StatelessWidget {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ class MemoriesViewState extends State<MemoriesView> {
|
|||
|
||||
@override
|
||||
void dispose() {
|
||||
// ignore: discarded_futures
|
||||
messageSub?.cancel();
|
||||
super.dispose();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,8 @@ class _RetransmissionDataViewState extends State<RetransmissionDataView> {
|
|||
onDoubleTap: () async {
|
||||
await twonlyDB.messageRetransmissionDao
|
||||
.deleteRetransmissionById(
|
||||
retrans.retrans.retransmissionId);
|
||||
retrans.retrans.retransmissionId,
|
||||
);
|
||||
},
|
||||
child: const FaIcon(
|
||||
FontAwesomeIcons.trash,
|
||||
|
|
|
|||
Loading…
Reference in a new issue