fix typo
authorYurii Zinchuk/Tizen Services & IoT (PLT) /SRPOL/Engineer/Samsung Electronics <y.zinchuk@samsung.com>
Fri, 26 Jan 2024 08:44:28 +0000 (09:44 +0100)
committerYurii Zinchuk/Tizen Services & IoT (PLT) /SRPOL/Engineer/Samsung Electronics <y.zinchuk@samsung.com>
Tue, 30 Jan 2024 07:29:56 +0000 (08:29 +0100)
SettingCore/Views/MainMenuItem.cs

index 1820e45a816c53ed728ba263e453675cef3b710a..a9575a81c4f9f286e4801140adcafbf4170b47f4 100644 (file)
@@ -17,7 +17,7 @@ namespace SettingCore.Views
 
         public string MenuPath { get; private set; }
 
-        public MainMenuItem(string iconPath, Color iconBackgroungColor, string title, string menuPath) : base()
+        public MainMenuItem(string iconPath, Color iconBackgroundColor, string title, string menuPath) : base()
         {
             Layout = new LinearLayout
             {
@@ -28,7 +28,7 @@ namespace SettingCore.Views
             iconBackground = new View
             {
                 CornerRadius = 5.SpToPx(),
-                BackgroundColor = iconBackgroungColor,
+                BackgroundColor = iconBackgroundColor,
                 Size = new Size(32, 32).SpToPx(),
                 Margin = new Extents(16, 16, 16, 16).SpToPx(),
             };
@@ -71,10 +71,10 @@ namespace SettingCore.Views
             ThemeManager.ThemeChanged += ThemeManager_ThemeChanged;
         }
 
-        public void UpdateItem(string title, Color iconBackgroungColor)
+        public void UpdateItem(string title, Color iconBackgroundColor)
         {
             titleTextLabel.Text = title;
-            iconBackground.BackgroundColor = iconBackgroungColor;
+            iconBackground.BackgroundColor = iconBackgroundColor;
         }        
         
         public override void OnChangeSelected(bool selected)