From 00fdb7e69b4caa503e2128ee60618429f6c5b3b3 Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Tue, 15 Feb 2022 15:11:20 +0100 Subject: [PATCH] Show toast while refreshing token using OneDrive in the FOSS version too --- .../presentation/presenter/AuthenticateCloudPresenter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/presentation/src/foss/java/org/cryptomator/presentation/presenter/AuthenticateCloudPresenter.kt b/presentation/src/foss/java/org/cryptomator/presentation/presenter/AuthenticateCloudPresenter.kt index 564192ed..a7871af4 100644 --- a/presentation/src/foss/java/org/cryptomator/presentation/presenter/AuthenticateCloudPresenter.kt +++ b/presentation/src/foss/java/org/cryptomator/presentation/presenter/AuthenticateCloudPresenter.kt @@ -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,