* For https://github.com/mozilla-mobile/fenix/issues/7343 Do not allow multiple share to same device

* For https://github.com/mozilla-mobile/fenix/issues/7343 Check current destination before dismissing share
pull/600/head
Mihai Adrian 5 years ago committed by Sawyer Blatz
parent 3a91c6aa33
commit 354ea9b6ec

@ -128,7 +128,9 @@ class DefaultShareController(
showFailureWithRetryOption { shareToDevicesWithRetry(shareOperation) }
ShareController.Result.DISMISSED
}
dismiss(result)
if (navController.currentDestination?.id == R.id.shareFragment) {
dismiss(result)
}
}
}

@ -42,6 +42,7 @@ class AccountDeviceViewHolder(
// nothing we are offline
}
}
it.setOnClickListener(null)
}
}

Loading…
Cancel
Save