Fix imports of OPML files
This commit is contained in:
parent
b9d0058ba6
commit
ddc7220978
@ -47,7 +47,7 @@ fun SubscribeDialog(
|
||||
val groupsState = subscribeUiState.groups.collectAsState(initial = emptyList())
|
||||
val launcher = rememberLauncherForActivityResult(ActivityResultContracts.GetContent()) {
|
||||
it?.let { uri ->
|
||||
context.contentResolver.openInputStream(uri)?.use { inputStream ->
|
||||
context.contentResolver.openInputStream(uri)?.let { inputStream ->
|
||||
subscribeViewModel.importFromInputStream(inputStream)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user