mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
feat: setting for disabling sentry
This commit is contained in:
parent
3f027c0701
commit
480df20a4b
@ -68,7 +68,22 @@ fun SettingsScreen(
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
ListItem(
|
||||
modifier = Modifier.clickable { prefs.sentry = !prefs.sentry },
|
||||
headlineText = { Text(stringResource(R.string.sentry)) },
|
||||
leadingContent = {
|
||||
Icon(
|
||||
Icons.Default.IntegrationInstructions,
|
||||
contentDescription = null
|
||||
)
|
||||
},
|
||||
trailingContent = {
|
||||
Switch(
|
||||
checked = prefs.sentry,
|
||||
onCheckedChange = { prefs.sentry = it }
|
||||
)
|
||||
}
|
||||
)
|
||||
Divider()
|
||||
SocialItem(R.string.github, R.drawable.ic_github, viewModel::openGitHub)
|
||||
SocialItem(R.string.opensource_licenses, Icons.Default.LibraryBooks, onClickLicenses)
|
||||
|
@ -34,5 +34,6 @@
|
||||
<string name="split_apk_warning">You have selected a resource patch and a split APK installation was detected so patching errors can occur.\nAre you sure you want to proceed with patching a split base APK?</string>
|
||||
<string name="opensource_licenses">Open source licenses</string>
|
||||
<string name="select_sources">Select sources</string>
|
||||
<string name="sentry">Sentry</string>
|
||||
<string name="select_bundle_from_storage">Select a bundle from storage</string>
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user