Close source filter dialog when filtering
This commit is contained in:
parent
26d422b0ae
commit
487622c592
1 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue