1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-24 05:17:46 +00:00

Add more Dalamud options in the UI

They aren't hooked up to anything yet right now.
This commit is contained in:
Joshua Goins 2023-07-31 19:02:42 -04:00
parent 723b81d1ee
commit 5c0506ce44

View file

@ -224,7 +224,8 @@ Kirigami.ScrollablePage {
}
MobileForm.FormCheckDelegate {
text: i18n("Enable Dalamud Plugins")
text: i18n("Enable Dalamud")
description: i18n("Dalamud extends the game with useful plugins, but use at your own risk.")
checked: page.profile.dalamudEnabled
onCheckedChanged: page.profile.dalamudEnabled = checked
}
@ -236,6 +237,23 @@ Kirigami.ScrollablePage {
model: ["Stable", "Staging", ".NET 5"]
currentIndex: page.profile.dalamudChannel
onCurrentIndexChanged: page.profile.dalamudChannel = currentIndex
enabled: page.profile.dalamudEnabled
}
MobileForm.FormDelegateSeparator {}
MobileForm.FormComboBoxDelegate {
text: i18n("Injection Method")
description: "It shouldn't be nessecary to change this setting, unless you're running into issues injecting Dalamud."
model: ["Entrypoint", "DLL Injection"]
enabled: page.profile.dalamudEnabled
}
MobileForm.FormDelegateSeparator {}
MobileForm.FormSpinBoxDelegate {
label: i18n("Injection Delay")
enabled: page.profile.dalamudEnabled
}
MobileForm.FormDelegateSeparator {}
@ -244,6 +262,7 @@ Kirigami.ScrollablePage {
text: i18n("Opt Out of Automatic Marketboard Collection")
checked: page.profile.dalamudOptOut
onCheckedChanged: page.profile.dalamudOptOut = checked
enabled: page.profile.dalamudEnabled
}
MobileForm.FormDelegateSeparator {}