[gnome-shell] appDisplay: Use new indentation style



commit 8f9d6a4c1328dbf35580ecae1b51da1dbca4907c
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Tue Feb 16 14:26:12 2021 +0100

    appDisplay: Use new indentation style
    
    Otherwise eslint will complain about the next commit.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1686>

 js/ui/appDisplay.js | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 69b4d0fff5..72e0e53791 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1430,10 +1430,12 @@ var AppSearchProvider = class AppSearchProvider {
                 let name = this._systemActions.getName(id);
                 let iconName = this._systemActions.getIconName(id);
 
-                let createIcon = size => new St.Icon({ icon_name: iconName,
-                                                       width: size,
-                                                       height: size,
-                                                       style_class: 'system-action-icon' });
+                const createIcon = size => new St.Icon({
+                    icon_name: iconName,
+                    width: size,
+                    height: size,
+                    style_class: 'system-action-icon',
+                });
 
                 metas.push({ id, name, createIcon });
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]