Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryamShaghaghi committed Dec 11, 2023
1 parent a7fe0fa commit 00a1d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SplitTunnelingFragment : BaseFragment() {
val state = viewModel.uiState.collectAsState().value
SplitTunnelingScreen(
uiState = state,
onShowSplitTunneling = viewModel::onShowAppList,
onShowSplitTunneling = viewModel::enableSplitTunneling,
onShowSystemAppsClick = viewModel::onShowSystemAppsClick,
onExcludeAppClick = viewModel::onExcludeAppClick,
onIncludeAppClick = viewModel::onIncludeAppClick,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class SplitTunnelingViewModel(
super.onCleared()
}

fun onShowAppList(show: Boolean) {
fun enableSplitTunneling(show: Boolean) {
viewModelScope.launch(dispatcher) {
serviceConnectionManager.splitTunneling()?.enableSplitTunneling(show)
}
Expand Down

0 comments on commit 00a1d04

Please sign in to comment.