mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat(core/experimental): custom story expiration
- refactor send override
This commit is contained in:
@ -460,10 +460,6 @@
|
||||
"disable_bitmoji": {
|
||||
"name": "Disable Bitmoji",
|
||||
"description": "Disables Friends Profile Bitmoji"
|
||||
},
|
||||
"fix_gallery_media_override": {
|
||||
"name": "Fix Gallery Media Override",
|
||||
"description": "Fixes various issues with the Gallery Media Send Override feature (e.g. Save Snaps in chat)"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -519,6 +515,10 @@
|
||||
"name": "Infinite Story Boost",
|
||||
"description": "Bypass the Story Boost Limit delay"
|
||||
},
|
||||
"custom_story_expiration": {
|
||||
"name": "Custom Story Expiration",
|
||||
"description": "Set a custom story expiration time in hours (0 to disable)"
|
||||
},
|
||||
"meo_passcode_bypass": {
|
||||
"name": "My Eyes Only Passcode Bypass",
|
||||
"description": "Bypass the My Eyes Only passcode\nThis will only work if the passcode has been entered correctly before"
|
||||
|
@ -6,7 +6,6 @@ import me.rhunk.snapenhance.common.config.FeatureNotice
|
||||
class Experimental : ConfigContainer() {
|
||||
class NativeHooks : ConfigContainer(hasGlobalState = true) {
|
||||
val disableBitmoji = boolean("disable_bitmoji")
|
||||
val fixGalleryMediaOverride = boolean("fix_gallery_media_override")
|
||||
}
|
||||
|
||||
val nativeHooks = container("native_hooks", NativeHooks()) { icon = "Memory"; requireRestart() }
|
||||
@ -15,6 +14,7 @@ class Experimental : ConfigContainer() {
|
||||
val appPasscode = string("app_passcode")
|
||||
val appLockOnResume = boolean("app_lock_on_resume")
|
||||
val infiniteStoryBoost = boolean("infinite_story_boost")
|
||||
val customStoryExpiration = integer("custom_story_expiration") { requireRestart(); nativeHooks() }
|
||||
val meoPasscodeBypass = boolean("meo_passcode_bypass")
|
||||
val unlimitedMultiSnap = boolean("unlimited_multi_snap") { addNotices(FeatureNotice.BAN_RISK)}
|
||||
val noFriendScoreDelay = boolean("no_friend_score_delay") { requireRestart()}
|
||||
|
Reference in New Issue
Block a user