Light Beacon 2 жил өмнө
parent
commit
0144676a24

+ 3 - 1
Resources/Components/LastUpdateBox.xaml

@@ -1 +1,3 @@
-<TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:${last_update}" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
+${@IF|${last_update}|
+<TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:${last_update}" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
+}

+ 1 - 1
Resources/Templates/Simplex/VersionBase.yml

@@ -3,7 +3,7 @@ components:
  - FlowDocumentViewer
  - ${@IF|${not_finished}|Loading}
  - ${@IF|!${disable-translator}|TranslatorBar}
- - ${@IF|${last_update}|LastUpdateBox}
+ - ${@IF|!${disable-lastupdate}|LastUpdateBox}
  - ${@IF|!${disable-toolbar}|VersionToolBar}
 base: Card
 fill: