Skip to content

Commit

Permalink
no need add
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Feb 24, 2025
1 parent 7e30cfe commit 1740121
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,12 @@ class SyncedFoldersActivity :
dialogFragment?.let { folderPreferencesDialog ->
if (isDialogFragmentReady(folderPreferencesDialog) &&
lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) {
supportFragmentManager

val fragmentTransaction = supportFragmentManager
.beginTransaction()
.addToBackStack(null)
.add(folderPreferencesDialog, SYNCED_FOLDER_PREFERENCES_DIALOG_TAG)
.commit()

folderPreferencesDialog.show(fragmentTransaction, SYNCED_FOLDER_PREFERENCES_DIALOG_TAG)
} else {
Log_OC.d(TAG, "SyncedFolderPreferencesDialogFragment not ready")
}
Expand Down

0 comments on commit 1740121

Please sign in to comment.