mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
dailynote auto refresh defaults to false
This commit is contained in:
@@ -1382,6 +1382,9 @@
|
||||
<data name="ViewDialogQRCodeTitle" xml:space="preserve">
|
||||
<value>使用米游社扫描二维码</value>
|
||||
</data>
|
||||
<data name="ViewDialogReconfirmHint" xml:space="preserve">
|
||||
<value>为了确保功能的启用者有独立的判断能力,我们将不定期更新这些功能的启用条件,如果您是一位内容创造者,在创作胡桃相关的内容时请不要向你的受众介绍具体的启用方法。</value>
|
||||
</data>
|
||||
<data name="ViewDialogReconfirmTextHeader" xml:space="preserve">
|
||||
<value>为防止你在无意间启用,请输入正在启用的功能开关的<b>标题名称</b></value>
|
||||
</data>
|
||||
|
||||
@@ -37,7 +37,7 @@ internal sealed partial class DailyNoteOptions : DbStoreOptions
|
||||
|
||||
public bool IsAutoRefreshEnabled
|
||||
{
|
||||
get => GetOption(ref isAutoRefreshEnabled, SettingEntry.DailyNoteIsAutoRefreshEnabled, true);
|
||||
get => GetOption(ref isAutoRefreshEnabled, SettingEntry.DailyNoteIsAutoRefreshEnabled, false);
|
||||
set
|
||||
{
|
||||
if (SetOption(ref isAutoRefreshEnabled, SettingEntry.DailyNoteIsAutoRefreshEnabled, value))
|
||||
|
||||
@@ -14,15 +14,23 @@
|
||||
Style="{StaticResource DefaultContentDialogStyle}"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<TextBox
|
||||
Margin="0,0,0,8"
|
||||
VerticalAlignment="Top"
|
||||
Style="{StaticResource DefaultTextBoxStyle}"
|
||||
Text="{x:Bind Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
||||
<TextBox.HeaderTemplate>
|
||||
<DataTemplate>
|
||||
<shuxct:HtmlDescriptionTextBlock Description="{shuxm:ResourceString Name=ViewDialogReconfirmTextHeader}"/>
|
||||
</DataTemplate>
|
||||
</TextBox.HeaderTemplate>
|
||||
</TextBox>
|
||||
<StackPanel Spacing="16">
|
||||
<InfoBar
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
Message="{shuxm:ResourceString Name=ViewDialogReconfirmHint}"
|
||||
Severity="Error"/>
|
||||
<TextBox
|
||||
Margin="0,0,0,8"
|
||||
VerticalAlignment="Top"
|
||||
Opacity="0.15"
|
||||
Style="{StaticResource DefaultTextBoxStyle}"
|
||||
Text="{x:Bind Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
||||
<TextBox.HeaderTemplate>
|
||||
<DataTemplate>
|
||||
<shuxct:HtmlDescriptionTextBlock Description="{shuxm:ResourceString Name=ViewDialogReconfirmTextHeader}"/>
|
||||
</DataTemplate>
|
||||
</TextBox.HeaderTemplate>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
</ContentDialog>
|
||||
Reference in New Issue
Block a user