Format code

This commit is contained in:
Ming Ming 2021-08-22 19:13:53 +08:00
parent c4c750a778
commit 658e808fcd
2 changed files with 3 additions and 7 deletions

View file

@ -251,9 +251,7 @@ class _AlbumBrowserState extends State<AlbumBrowser>
IconButton( IconButton(
icon: const Icon(Icons.remove), icon: const Icon(Icons.remove),
tooltip: L10n.of(context).removeSelectedFromAlbumTooltip, tooltip: L10n.of(context).removeSelectedFromAlbumTooltip,
onPressed: () { onPressed: _onSelectionAppBarRemovePressed,
_onSelectionAppBarRemovePressed();
},
) )
]); ]);
} }

View file

@ -30,8 +30,7 @@ class PendingAlbumsArguments {
class PendingAlbums extends StatefulWidget { class PendingAlbums extends StatefulWidget {
static const routeName = "/pending-albums"; static const routeName = "/pending-albums";
static Route buildRoute(PendingAlbumsArguments args) => static Route buildRoute(PendingAlbumsArguments args) => MaterialPageRoute(
MaterialPageRoute(
builder: (context) => PendingAlbums.fromArgs(args), builder: (context) => PendingAlbums.fromArgs(args),
); );
@ -198,8 +197,7 @@ class _PendingAlbumsState extends State<PendingAlbums> {
var _items = <_GridItem>[]; var _items = <_GridItem>[];
static final _log = static final _log = Logger("widget.pending_albums._PendingAlbumsState");
Logger("widget.pending_albums._PendingAlbumsState");
} }
class _GridItem { class _GridItem {