99keshav99 / CaptureSposed

Xposed module that effectively disables the newly introduced screenshot detection API in Android 14
GNU Affero General Public License v3.0
104 stars 7 forks source link

Update MainActivity Display Switch Module is Enabled #48

Closed 99keshav99 closed 4 months ago

99keshav99 commented 4 months ago

This PR introduces changes to MainActivity.kt. Created a new Composable function SwitchOrText to add a conditional statement that determines whether to display a switch or a message based on the status of XposedChecke.isEnabled()

App when XposedChecke.isEnabled() returns False

Screenshot_20240521_123156

App when XposedChecke.isEnabled() returns True

Screenshot_20240521_130449