feat(mobile): deep links (#19232)
* add deep linking on ios app * add deeplinking to android * code review fixes * lint * cleanly handle malformed URIs when launching app * refactor deep link builder/service, still have bug with navigation stack not containing TabControllerRoute * fix: tab controller insertion conditions * add my.immich.app app linking * chore: remove one-liner if statement --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -93,6 +93,10 @@ class AlbumRepository extends DatabaseRepository {
|
||||
|
||||
Future<Album?> get(int id) => db.albums.get(id);
|
||||
|
||||
Future<Album?> getByRemoteId(String remoteId) {
|
||||
return db.albums.filter().remoteIdEqualTo(remoteId).findFirst();
|
||||
}
|
||||
|
||||
Future<void> removeUsers(Album album, List<UserDto> users) => txn(
|
||||
() => album.sharedUsers.update(unlink: users.map(entity.User.fromDto)),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user