mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
chore(mobile): Add const linter (#14447)
This commit is contained in:
parent
4eb7758f56
commit
1bb6926b5e
14 changed files with 39 additions and 34 deletions
mobile/lib/pages/library
|
@ -28,7 +28,7 @@ class LibraryPage extends ConsumerWidget {
|
|||
ref.watch(serverInfoProvider.select((v) => v.serverFeatures.trash));
|
||||
|
||||
return Scaffold(
|
||||
appBar: ImmichAppBar(),
|
||||
appBar: const ImmichAppBar(),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: ListView(
|
||||
|
@ -81,7 +81,7 @@ class LibraryPage extends ConsumerWidget {
|
|||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
QuickAccessButtons(),
|
||||
const QuickAccessButtons(),
|
||||
const SizedBox(
|
||||
height: 32,
|
||||
),
|
||||
|
@ -122,8 +122,8 @@ class QuickAccessButtons extends ConsumerWidget {
|
|||
ListTile(
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.only(
|
||||
topLeft: Radius.circular(20),
|
||||
topRight: Radius.circular(20),
|
||||
topLeft: const Radius.circular(20),
|
||||
topRight: const Radius.circular(20),
|
||||
bottomLeft: Radius.circular(partners.isEmpty ? 20 : 0),
|
||||
bottomRight: Radius.circular(partners.isEmpty ? 20 : 0),
|
||||
),
|
||||
|
@ -173,7 +173,7 @@ class PartnerList extends ConsumerWidget {
|
|||
right: 18.0,
|
||||
),
|
||||
leading: userAvatar(context, partner, radius: 16),
|
||||
title: Text(
|
||||
title: const Text(
|
||||
"partner_list_user_photos",
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.w500,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue