summaryrefslogtreecommitdiff
path: root/ElmSharp/ElmSharp/Layout.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ElmSharp/ElmSharp/Layout.cs')
-rw-r--r--ElmSharp/ElmSharp/Layout.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/ElmSharp/ElmSharp/Layout.cs b/ElmSharp/ElmSharp/Layout.cs
index 4717adb..828334d 100644
--- a/ElmSharp/ElmSharp/Layout.cs
+++ b/ElmSharp/ElmSharp/Layout.cs
@@ -28,7 +28,8 @@ namespace ElmSharp
public Layout(EvasObject parent) : base(parent)
{
_languageChanged = new SmartEvent(this, this.RealHandle, "language,changed");
- _languageChanged.On += (s, e) => {
+ _languageChanged.On += (s, e) =>
+ {
LanguageChanged?.Invoke(this, EventArgs.Empty);
};
@@ -67,7 +68,7 @@ namespace ElmSharp
{
set
{
- if(value.IsDefault)
+ if (value.IsDefault)
{
string part = ClassName.ToLower().Replace("elm_", "") + "/" + "bg";
EdjeObject.DeleteColorClass(part);