Merge pull request #1830 from esensar/fix/write-permission-dialog-layout-fix
Restore previous logic for selecting layout for WritePermissionDialog
This commit is contained in:
commit
13b1af3362
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class WritePermissionDialog(activity: Activity, val mode: Mode, val callback: ()
|
|||
BaseSimpleActivity.funAfterSAFPermission = null
|
||||
}
|
||||
.apply {
|
||||
activity.setupDialogStuff(if (mode == Mode.Otg) otgView.root else sdCardView.root, this, dialogTitle) { alertDialog ->
|
||||
activity.setupDialogStuff(if (mode == Mode.SdCard) sdCardView.root else otgView.root, this, dialogTitle) { alertDialog ->
|
||||
dialog = alertDialog
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue