Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
3f7f03f8
Unverified
Commit
3f7f03f8
authored
Mar 29, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
Fix #12724
parent
d237a237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/main/java/org/b3log/solo/processor/console/PreferenceConsole.java
...a/org/b3log/solo/processor/console/PreferenceConsole.java
+7
-0
No files found.
src/main/java/org/b3log/solo/processor/console/PreferenceConsole.java
View file @
3f7f03f8
...
...
@@ -17,6 +17,7 @@
*/
package
org
.
b3log
.
solo
.
processor
.
console
;
import
org.apache.commons.lang.StringUtils
;
import
org.b3log.latke.Keys
;
import
org.b3log.latke.ioc.Inject
;
import
org.b3log.latke.logging.Level
;
...
...
@@ -183,6 +184,12 @@ public class PreferenceConsole {
return
;
}
String
hljsTheme
=
preference
.
optString
(
Option
.
ID_C_HLJS_THEME
);
if
(
StringUtils
.
isBlank
(
hljsTheme
))
{
// TODO: 在 v3.5.0 发布后可移除判空
hljsTheme
=
Option
.
DefaultPreference
.
DEFAULT_HLJS_THEME
;
preference
.
put
(
Option
.
ID_C_HLJS_THEME
,
hljsTheme
);
}
String
footerContent
=
""
;
final
JSONObject
opt
=
optionQueryService
.
getOptionById
(
Option
.
ID_C_FOOTER_CONTENT
);
if
(
null
!=
opt
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment