Commit 8f08ae59 authored by vvb2060's avatar vvb2060 Committed by topjohnwu

Fix permission

parent e8d4e492
......@@ -119,8 +119,9 @@ class HomeViewModel(
else -> SnackbarEvent(R.string.no_connection).publish()
}
fun onMagiskPressed() =
fun onMagiskPressed() = withExternalRW {
HomeFragmentDirections.actionHomeFragmentToInstallFragment().publish()
}
fun onSafetyNetPressed() =
HomeFragmentDirections.actionHomeFragmentToSafetynetFragment().publish()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment