Skip to content

Commit

Permalink
Modify the database name in the starred password entry prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
henry9610 committed Sep 10, 2024
1 parent a97073f commit dac2fdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions seafile/SeafStarredFilesViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath

//check if is encrypted
if ([(SeafRepo *)entry passwordRequiredWithSyncRefresh]){
SeafRepo *repo = [[SeafRepo alloc] initWithConnection:starredRepo->connection andRepoId:starredRepo.repoId andRepoName:starredRepo.name];
SeafRepo *repo = [[SeafRepo alloc] initWithConnection:starredRepo->connection andRepoId:starredRepo.repoId andRepoName:starredRepo.repoName];
@weakify(self);
[self popupSetRepoPassword:(SeafRepo *)repo handler:^{
@strongify(self);
Expand All @@ -539,7 +539,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath

if ([(SeafRepo *)entry passwordRequiredWithSyncRefresh]){
Debug("Star file %@ repo %@ password required.", sfile.name, sfile.repoId);
SeafRepo *repo = [[SeafRepo alloc] initWithConnection:sfile->connection andRepoId:sfile.repoId andRepoName:sfile.name];
SeafRepo *repo = [[SeafRepo alloc] initWithConnection:sfile->connection andRepoId:sfile.repoId andRepoName:sfile.repoName];
@weakify(self);
[self popupSetRepoPassword:(SeafRepo *)repo handler:^{
@strongify(self);
Expand Down Expand Up @@ -744,7 +744,7 @@ - (void)locateToTargetPathFromIndex:(NSInteger)cellIndex {
return;
}
if ([(SeafRepo *)entry passwordRequiredWithSyncRefresh]){
SeafRepo *repo = [[SeafRepo alloc] initWithConnection:entry->connection andRepoId:entry.repoId andRepoName:entry.name];
SeafRepo *repo = [[SeafRepo alloc] initWithConnection:entry->connection andRepoId:entry.repoId andRepoName:entry.repoName];
@weakify(self);
return [self popupSetRepoPassword:repo handler:^{
@strongify(self);
Expand Down

0 comments on commit dac2fdb

Please sign in to comment.