mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(mobile): clean up linter problems (#1000)
This commit is contained in:
parent
bc9ee1d611
commit
39b7ab66d4
32 changed files with 188 additions and 173 deletions
|
|
@ -33,7 +33,7 @@ class AlbumInfoCard extends HookConsumerWidget {
|
|||
ColorFilter unselectedFilter =
|
||||
const ColorFilter.mode(Colors.black, BlendMode.color);
|
||||
|
||||
_buildSelectedTextBox() {
|
||||
buildSelectedTextBox() {
|
||||
if (isSelected) {
|
||||
return Chip(
|
||||
visualDensity: VisualDensity.compact,
|
||||
|
|
@ -67,7 +67,7 @@ class AlbumInfoCard extends HookConsumerWidget {
|
|||
return const SizedBox();
|
||||
}
|
||||
|
||||
_buildImageFilter() {
|
||||
buildImageFilter() {
|
||||
if (isSelected) {
|
||||
return selectedFilter;
|
||||
} else if (isExcluded) {
|
||||
|
|
@ -163,7 +163,7 @@ class AlbumInfoCard extends HookConsumerWidget {
|
|||
topRight: Radius.circular(12),
|
||||
),
|
||||
image: DecorationImage(
|
||||
colorFilter: _buildImageFilter(),
|
||||
colorFilter: buildImageFilter(),
|
||||
image: imageData != null
|
||||
? MemoryImage(imageData!)
|
||||
: const AssetImage(
|
||||
|
|
@ -177,7 +177,7 @@ class AlbumInfoCard extends HookConsumerWidget {
|
|||
Positioned(
|
||||
bottom: 10,
|
||||
left: 25,
|
||||
child: _buildSelectedTextBox(),
|
||||
child: buildSelectedTextBox(),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue