Skip to content

Commit a9cf109

Browse files
committed
close drawer after account choosing
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent d4a996c commit a9cf109

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/it/niedermann/owncloud/notes/main/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ private void handleEcosystemIntent(Intent intent) {
497497
public void onAccountReceived(@NotNull String accountName) {
498498
final var account = mainViewModel.getAccountByName(accountName);
499499
if (account != null) {
500-
mainViewModel.postCurrentAccount(account);
500+
onAccountChosen(account);
501501
} else {
502502
Log_OC.e(TAG, "account not found");
503503
}

0 commit comments

Comments
 (0)