mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 11:18:41 +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');
|
await m.deleteTable('media_downloads');
|
||||||
},
|
},
|
||||||
from16To17: (m, schema) async {
|
from16To17: (m, schema) async {
|
||||||
await m.addColumn(schema.messageRetransmissions,
|
await m.addColumn(
|
||||||
schema.messageRetransmissions.lastRetry);
|
schema.messageRetransmissions,
|
||||||
await m.addColumn(schema.messageRetransmissions,
|
schema.messageRetransmissions.lastRetry,
|
||||||
schema.messageRetransmissions.retryCount);
|
);
|
||||||
|
await m.addColumn(
|
||||||
|
schema.messageRetransmissions,
|
||||||
|
schema.messageRetransmissions.retryCount,
|
||||||
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// ignore_for_file: deprecated_member_use
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class RadioButton<T> extends StatelessWidget {
|
class RadioButton<T> extends StatelessWidget {
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ class MemoriesViewState extends State<MemoriesView> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
|
// ignore: discarded_futures
|
||||||
messageSub?.cancel();
|
messageSub?.cancel();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,8 @@ class _RetransmissionDataViewState extends State<RetransmissionDataView> {
|
||||||
onDoubleTap: () async {
|
onDoubleTap: () async {
|
||||||
await twonlyDB.messageRetransmissionDao
|
await twonlyDB.messageRetransmissionDao
|
||||||
.deleteRetransmissionById(
|
.deleteRetransmissionById(
|
||||||
retrans.retrans.retransmissionId);
|
retrans.retrans.retransmissionId,
|
||||||
|
);
|
||||||
},
|
},
|
||||||
child: const FaIcon(
|
child: const FaIcon(
|
||||||
FontAwesomeIcons.trash,
|
FontAwesomeIcons.trash,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue