mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
refactor: remove disable composer modules
This commit is contained in:
@ -928,10 +928,6 @@
|
||||
"name": "Custom Streaks Expiration Format",
|
||||
"description": "Customizes the Streaks Expiration format\n\nAvailable variables:\n - %c: Streaks Count\n - %e: Hourglass Emoji\n - %d: Days\n - %h: Hours\n - %m: Minutes\n - %s: Seconds\n - %w: Remaining Time"
|
||||
},
|
||||
"disable_composer_modules": {
|
||||
"name": "Disable Composer Modules",
|
||||
"description": "Prevents selected composer modules from being loaded\nNames must be separated by a comma"
|
||||
},
|
||||
"prevent_forced_logout": {
|
||||
"name": "Prevent Forced Logout",
|
||||
"description": "Prevents Snapchat from logging you out when you login on another device"
|
||||
|
@ -61,6 +61,5 @@ class Experimental : ConfigContainer() {
|
||||
"added_by_qr_code",
|
||||
"added_by_community",
|
||||
) { addNotices(FeatureNotice.BAN_RISK) }
|
||||
val disableComposerModules = string("disable_composer_modules") { requireRestart(); nativeHooks() }
|
||||
val preventForcedLogout = boolean("prevent_forced_logout") { requireRestart(); addNotices(FeatureNotice.BAN_RISK, FeatureNotice.INTERNAL_BEHAVIOR); }
|
||||
}
|
Reference in New Issue
Block a user