You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Fix permission
This commit is contained in:
@@ -119,8 +119,9 @@ class HomeViewModel(
|
|||||||
else -> SnackbarEvent(R.string.no_connection).publish()
|
else -> SnackbarEvent(R.string.no_connection).publish()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun onMagiskPressed() =
|
fun onMagiskPressed() = withExternalRW {
|
||||||
HomeFragmentDirections.actionHomeFragmentToInstallFragment().publish()
|
HomeFragmentDirections.actionHomeFragmentToInstallFragment().publish()
|
||||||
|
}
|
||||||
|
|
||||||
fun onSafetyNetPressed() =
|
fun onSafetyNetPressed() =
|
||||||
HomeFragmentDirections.actionHomeFragmentToSafetynetFragment().publish()
|
HomeFragmentDirections.actionHomeFragmentToSafetynetFragment().publish()
|
||||||
|
|||||||
Reference in New Issue
Block a user