fix: wrong properties

This commit is contained in:
Next Alone 2022-06-29 12:50:08 +08:00
parent 52f3013e15
commit 7842d0bef3
No known key found for this signature in database
GPG Key ID: DBA7B0AEF8C1CD2C

View File

@ -27,79 +27,79 @@ object NaConfig {
ArrayList<ConfigItem>() ArrayList<ConfigItem>()
// Configs // Configs
var forceCopy = val forceCopy =
addConfig( addConfig(
"ForceCopy", "ForceCopy",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
false false
) )
var showInvertReply = val showInvertReply =
addConfig( addConfig(
"InvertReply", "InvertReply",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
false false
) )
var showGreatOrPoor = val showGreatOrPoor =
addConfig( addConfig(
"GreatOrPoor", "GreatOrPoor",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
false false
) )
var showTextBold = val showTextBold =
addConfig( addConfig(
"TextBold", "TextBold",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextItalic = val showTextItalic =
addConfig( addConfig(
"TextItalic", "TextItalic",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextMono = val showTextMono =
addConfig( addConfig(
"TextMonospace", "TextMonospace",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextStrikethrough = val showTextStrikethrough =
addConfig( addConfig(
"TextStrikethrough", "TextStrikethrough",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextUnderline = val showTextUnderline =
addConfig( addConfig(
"TextUnderline", "TextUnderline",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextSpoiler = val showTextSpoiler =
addConfig( addConfig(
"TextSpoiler", "TextSpoiler",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextCreateLink = val showTextCreateLink =
addConfig( addConfig(
"TextLink", "TextLink",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextCreateMention = val showTextCreateMention =
addConfig( addConfig(
"TextCreateMention", "TextCreateMention",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var showTextRegular = val showTextRegular =
addConfig( addConfig(
"TextRegular", "TextRegular",
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
true true
) )
var combineMessage = val combineMessage =
addConfig( addConfig(
"CombineMessage", "CombineMessage",
ConfigItem.configTypeInt, ConfigItem.configTypeInt,
@ -123,7 +123,7 @@ object NaConfig {
ConfigItem.configTypeBool, ConfigItem.configTypeBool,
false false
) )
var doubleTapAction = val doubleTapAction =
addConfig( addConfig(
"DoubleTapAction", "DoubleTapAction",
ConfigItem.configTypeInt, ConfigItem.configTypeInt,