mirror of
https://github.com/nextcloud/android.git
synced 2024-12-17 22:41:54 +03:00
Update app/src/main/java/com/owncloud/android/ui/activity/SyncedFoldersActivity.kt
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com> Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
This commit is contained in:
parent
b980f552c8
commit
ea013b0cb3
1 changed files with 4 additions and 4 deletions
|
@ -631,10 +631,10 @@ class SyncedFoldersActivity :
|
|||
if (requestCode == SyncedFolderPreferencesDialogFragment.REQUEST_CODE__SELECT_REMOTE_FOLDER &&
|
||||
resultCode == RESULT_OK && syncedFolderPreferencesDialogFragment != null
|
||||
) {
|
||||
val chosenFolder: OCFile = FolderPickerActivity.EXTRA_FOLDER?.let {
|
||||
data!!.getParcelableArgument(it, OCFile::class.java)
|
||||
} ?: return
|
||||
syncedFolderPreferencesDialogFragment!!.setRemoteFolderSummary(chosenFolder.remotePath)
|
||||
val chosenFolder: OCFile? = FolderPickerActivity.EXTRA_FOLDER?.let {
|
||||
data?.getParcelableArgument(it, OCFile::class.java)
|
||||
}
|
||||
syncedFolderPreferencesDialogFragment?.setRemoteFolderSummary(chosenFolder?.remotePath)
|
||||
} else if (
|
||||
requestCode == SyncedFolderPreferencesDialogFragment.REQUEST_CODE__SELECT_LOCAL_FOLDER &&
|
||||
resultCode == RESULT_OK && syncedFolderPreferencesDialogFragment != null
|
||||
|
|
Loading…
Reference in a new issue