mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 03:02:44 +01:00
c5504aae6e
* refactor: migrate album sort option to provider * refactor: use sort order in add to album sheet list * test(mobile): album_sort_options_provider unit tests * refactor: sort shared albums with user selected sort * refactor: use listview to render shared albums * refactor: rename to AlbumSortByOptions * refactor: remove filtering inside sort functions * font size --------- Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
21 lines
405 B
Dart
21 lines
405 B
Dart
import 'package:immich_mobile/shared/models/user.dart';
|
|
|
|
final class UserStub {
|
|
const UserStub._();
|
|
|
|
static final admin = User(
|
|
id: "admin",
|
|
updatedAt: DateTime(2021),
|
|
email: "admin@test.com",
|
|
name: "admin",
|
|
isAdmin: true,
|
|
);
|
|
|
|
static final user1 = User(
|
|
id: "user1",
|
|
updatedAt: DateTime(2022),
|
|
email: "user1@test.com",
|
|
name: "user1",
|
|
isAdmin: false,
|
|
);
|
|
}
|