Skip to content
Prev Previous commit
Next Next commit
Make getDefaultAccount inline
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 authored and backportbot[bot] committed Jun 13, 2024
commit 1e3344f907b1980f4263eef66076be57ffbc5c1f
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ class SessionMixin(
* If no valid ownCloud [Account] exists, then the user is requested
* to create a new ownCloud [Account].
*/
private fun getDefaultAccount(): Account {
// default to the most recently used account
return accountManager.currentAccount
}
private fun getDefaultAccount(): Account = accountManager.currentAccount

/**
* Launches the account creation activity.
Expand Down