Add the download dir max size in the preference.

This commit is contained in:
zicla
2019-04-29 01:05:41 +08:00
parent 177ee3a6fb
commit 120d9a55c8
8 changed files with 44 additions and 42 deletions

View File

@ -21,7 +21,7 @@ func (this *PreferenceDao) Fetch() *Preference {
if db.Error.Error() == result.DB_ERROR_NOT_FOUND {
preference.Name = "蓝眼云盘"
preference.ShowAlien = true
this.Create(preference)
return preference
} else {