Close source filter dialog when filtering

This commit is contained in:
arkon 2023-02-25 15:16:48 -05:00
parent 26d422b0ae
commit 487622c592

View file

@ -63,7 +63,10 @@ fun SourceFilterDialog(
Spacer(modifier = Modifier.weight(1f)) Spacer(modifier = Modifier.weight(1f))
Button(onClick = onFilter) { Button(onClick = {
onFilter()
onDismissRequest()
},) {
Text(stringResource(R.string.action_filter)) Text(stringResource(R.string.action_filter))
} }
} }