Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PlayWallDesktop
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PlayWall
PlayWallDesktop
Commits
13b5ab0d
Commit
13b5ab0d
authored
Feb 3, 2019
by
Tobias Ullerich
Browse files
Options
Downloads
Patches
Plain Diff
Fixed save/load of flat design property
parent
237f9e2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
PlayWallCore/src/main/java/de/tobias/playpad/design/modern/serializer/ModernGlobalDesignSerializer.java
+5
-0
5 additions, 0 deletions
...esign/modern/serializer/ModernGlobalDesignSerializer.java
with
5 additions
and
0 deletions
PlayWallCore/src/main/java/de/tobias/playpad/design/modern/serializer/ModernGlobalDesignSerializer.java
+
5
−
0
View file @
13b5ab0d
...
@@ -51,6 +51,10 @@ public class ModernGlobalDesignSerializer {
...
@@ -51,6 +51,10 @@ public class ModernGlobalDesignSerializer {
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
}
}
Element
flatDesignElement
=
rootElement
.
element
(
"FlatDesign"
);
if
(
flatDesignElement
!=
null
)
{
design
.
setFlatDesign
(
Boolean
.
valueOf
(
flatDesignElement
.
getStringValue
()));
}
return
design
;
return
design
;
}
}
...
@@ -62,5 +66,6 @@ public class ModernGlobalDesignSerializer {
...
@@ -62,5 +66,6 @@ public class ModernGlobalDesignSerializer {
animationElement
.
addElement
(
"Warn"
).
addText
(
String
.
valueOf
(
design
.
isWarnAnimation
()));
animationElement
.
addElement
(
"Warn"
).
addText
(
String
.
valueOf
(
design
.
isWarnAnimation
()));
rootElement
.
addElement
(
"InfoFontSize"
).
addText
(
String
.
valueOf
(
design
.
getInfoFontSize
()));
rootElement
.
addElement
(
"InfoFontSize"
).
addText
(
String
.
valueOf
(
design
.
getInfoFontSize
()));
rootElement
.
addElement
(
"TitleFontSize"
).
addText
(
String
.
valueOf
(
design
.
getTitleFontSize
()));
rootElement
.
addElement
(
"TitleFontSize"
).
addText
(
String
.
valueOf
(
design
.
getTitleFontSize
()));
rootElement
.
addElement
(
"FlatDesign"
).
addText
(
String
.
valueOf
(
design
.
isFlatDesign
()));
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment