[mob][photos] Lint fix
This commit is contained in:
parent
f55fd36579
commit
02890a100b
2 changed files with 6 additions and 3 deletions
|
@ -521,7 +521,7 @@ class FilesDB {
|
|||
}
|
||||
|
||||
Future<(Set<int>, Map<String, int>)> getUploadAndHash(
|
||||
int collectionID) async {
|
||||
int collectionID,) async {
|
||||
final db = await instance.database;
|
||||
final results = await db.query(
|
||||
filesTable,
|
||||
|
|
|
@ -69,7 +69,9 @@ class _FavoriteWidgetState extends State<FavoriteWidget> {
|
|||
_logger.severe(e, s);
|
||||
hasError = true;
|
||||
showToast(
|
||||
context, S.of(context).sorryCouldNotAddToFavorites);
|
||||
context,
|
||||
S.of(context).sorryCouldNotAddToFavorites,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
|
@ -91,7 +93,8 @@ class _FavoriteWidgetState extends State<FavoriteWidget> {
|
|||
},
|
||||
likeBuilder: (isLiked) {
|
||||
debugPrint(
|
||||
"File Upload ID ${widget.file.uploadedFileID} & collection ${widget.file.collectionID}");
|
||||
"File Upload ID ${widget.file.uploadedFileID} & collection ${widget.file.collectionID}",
|
||||
);
|
||||
return Icon(
|
||||
isLiked
|
||||
? Icons.favorite_rounded
|
||||
|
|
Loading…
Add table
Reference in a new issue