Show toast while refreshing token using OneDrive in the FOSS version too

This commit is contained in:
Julian Raufelder 2022-02-15 15:11:20 +01:00
parent d08ffe68ef
commit 00fdb7e69b
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

View File

@ -233,6 +233,8 @@ class AuthenticateCloudPresenter @Inject constructor( //
private fun startAuthentication(cloud: CloudModel) {
authenticationStarted = true
Toast.makeText(context(), R.string.notification_authenticating, Toast.LENGTH_SHORT).show()
PublicClientApplication.createMultipleAccountPublicClientApplication(
context(),
R.raw.auth_config_onedrive,