fixed challenges' custom theme not working

This commit is contained in:
iAmAsval 2020-03-17 01:29:26 +01:00
parent 32171d907f
commit e6b69071e6
2 changed files with 1 additions and 7 deletions

View File

@ -114,12 +114,6 @@ namespace FModel.Methods.Utilities
FProp.Default.FUseWatermark = false;
bSave = true;
}
if (FProp.Default.FUseChallengeWatermark && string.IsNullOrEmpty(FProp.Default.FBannerFilePath))
{
DebugHelper.WriteLine("Watermarking challenges enabled but watermark file path is empty, option disabled");
FProp.Default.FUseChallengeWatermark = false;
bSave = true;
}
if (!string.IsNullOrEmpty(FProp.Default.FWatermarkFilePath) && !File.Exists(FProp.Default.FWatermarkFilePath))
{

View File

@ -14,7 +14,7 @@
alt="Releases">
</a>
<a href="https://github.com/iAmAsval/FModel/releases/latest">
<img src="https://img.shields.io/github/downloads/iAmAsval/FModel/latest/total.svg?label=v3.0.4%20Downloads"
<img src="https://img.shields.io/github/downloads/iAmAsval/FModel/latest/total.svg?label=v3.0.4.1%20Downloads"
alt="Downloads">
</a>
<a href="https://twitter.com/AsvalFN"><img src="https://img.shields.io/badge/Twitter-@AsvalFN-1da1f2.svg?logo=twitter"></a>