Show notification when Onedrive authentication starts
This commit is contained in:
parent
db050e04f0
commit
f586e447f5
@ -547,6 +547,8 @@
|
||||
|
||||
<string name="notification_update_check_finished_latest">Latest version installed</string>
|
||||
|
||||
<string name="notification_authenticating">Authenticating…</string>
|
||||
|
||||
<string name="screen_settings_lru_cache">Cache</string>
|
||||
<string name="screen_settings_lru_cache_toggle" translatable="false">@string/screen_settings_section_auto_photo_upload_toggle</string>
|
||||
<string name="screen_settings_lru_cache_toggle_summary">Cache recently accessed files encrypted locally on the device for later reuse when reopened</string>
|
||||
|
@ -274,6 +274,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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user