Always open volume after creation

This commit is contained in:
Matéo Duparc 2023-08-20 17:08:10 +02:00
parent 3127a15d9e
commit de0194a722
Signed by untrusted user: hardcoresushi
GPG Key ID: AFE384344A45E13A

View File

@ -256,7 +256,7 @@ class CreateVolumeFragment: Fragment() {
private fun onVolumeCreated(id: Int?, volumeShortName: String) { private fun onVolumeCreated(id: Int?, volumeShortName: String) {
(activity as AddVolumeActivity).apply { (activity as AddVolumeActivity).apply {
if (rememberVolume || id == null) { if (id == null) {
finish() finish()
} else { } else {
startExplorer(id, volumeShortName) startExplorer(id, volumeShortName)