fix: as read only
This commit is contained in:
parent
16b3dd7899
commit
04d7530826
1 changed files with 2 additions and 5 deletions
|
@ -30,10 +30,7 @@ import com.simplemobiletools.commons.extensions.baseConfig
|
||||||
import com.simplemobiletools.commons.extensions.launchUpgradeToProIntent
|
import com.simplemobiletools.commons.extensions.launchUpgradeToProIntent
|
||||||
import com.simplemobiletools.commons.extensions.launchViewIntent
|
import com.simplemobiletools.commons.extensions.launchViewIntent
|
||||||
import com.simplemobiletools.commons.extensions.toHex
|
import com.simplemobiletools.commons.extensions.toHex
|
||||||
import com.simplemobiletools.commons.models.FileDirItem
|
import com.simplemobiletools.commons.models.*
|
||||||
import com.simplemobiletools.commons.models.RadioItem
|
|
||||||
import com.simplemobiletools.commons.models.Release
|
|
||||||
import com.simplemobiletools.commons.models.SimpleListItem
|
|
||||||
import kotlinx.collections.immutable.toImmutableList
|
import kotlinx.collections.immutable.toImmutableList
|
||||||
|
|
||||||
class TestDialogActivity : ComponentActivity() {
|
class TestDialogActivity : ComponentActivity() {
|
||||||
|
@ -87,7 +84,7 @@ class TestDialogActivity : ComponentActivity() {
|
||||||
alertDialogState = this, fileDirItem = FileDirItem(
|
alertDialogState = this, fileDirItem = FileDirItem(
|
||||||
path = filesDir.path,
|
path = filesDir.path,
|
||||||
name = "Test", children = 2
|
name = "Test", children = 2
|
||||||
), showApplyToAll = false
|
).asReadOnly(), showApplyToAll = false
|
||||||
) { resolution, applyForAll ->
|
) { resolution, applyForAll ->
|
||||||
baseConfig.apply {
|
baseConfig.apply {
|
||||||
lastConflictApplyToAll = applyForAll
|
lastConflictApplyToAll = applyForAll
|
||||||
|
|
Loading…
Reference in a new issue