File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -187,12 +187,17 @@ Required to support 'Inspect Widget'."
187187 " Return a friendly label for device with ID, NAME IS-DEVICE and PLATFORM.
188188Check for icons if supports it."
189189 (let* ((device-name (if name name id))
190- (type-text (if is-device " device" " emulator" ))
190+ (type-text (if (string= " web" platform)
191+ " browser"
192+ (if is-device
193+ " device"
194+ " emulator" )))
191195 (default (concat platform " - " type-text " - " device-name)))
192196 (if (featurep 'all-the-icons )
193197 (pcase platform
194- (" android" (concat (all-the-icons-faicon " android" :face 'all-the-icons-green ) " " type-text " - " device-name))
195- (" ios" (concat (all-the-icons-faicon " apple" :face 'all-the-icons-lsilver ) " " type-text " - " device-name))
198+ (" web" (concat (all-the-icons-faicon " chrome" :face 'all-the-icons-blue :v-adjust 0.0 ) " " type-text " - " device-name))
199+ (" android" (concat (all-the-icons-faicon " android" :face 'all-the-icons-green :v-adjust 0.0 ) " " type-text " - " device-name))
200+ (" ios" (concat (all-the-icons-faicon " apple" :face 'all-the-icons-lsilver :v-adjust 0.0 ) " " type-text " - " device-name))
196201 (_ default ))
197202 default )))
198203
You can’t perform that action at this time.
0 commit comments