mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(mobile/web): album cover buttons consistency (#27213)
* fix(mobile/web): album cover buttons consistency * test: adjust test
This commit is contained in:
parent
94b15b8678
commit
4ddc288cd1
3 changed files with 10 additions and 11 deletions
|
|
@ -727,7 +727,7 @@ void main() {
|
|||
expect(ActionButtonType.setAlbumCover.shouldShow(context), isTrue);
|
||||
});
|
||||
|
||||
test('should not show when not owner', () {
|
||||
test('should show when not owner', () {
|
||||
final album = createRemoteAlbum();
|
||||
final context = ActionButtonContext(
|
||||
asset: mergedAsset,
|
||||
|
|
@ -742,7 +742,7 @@ void main() {
|
|||
selectedCount: 1,
|
||||
);
|
||||
|
||||
expect(ActionButtonType.setAlbumCover.shouldShow(context), isFalse);
|
||||
expect(ActionButtonType.setAlbumCover.shouldShow(context), isTrue);
|
||||
});
|
||||
|
||||
test('should not show when in locked view', () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue