Migrate fontawesome->material in more views (#31360)
This commit is contained in:
		@@ -117,7 +117,8 @@ module ApplicationHelper
 | 
			
		||||
    inline_svg_tag(
 | 
			
		||||
      "400-24px/#{icon}.svg",
 | 
			
		||||
      class: ['icon', "material-#{icon}"].concat(attributes[:class].to_s.split),
 | 
			
		||||
      role: :img
 | 
			
		||||
      role: :img,
 | 
			
		||||
      data: attributes[:data]
 | 
			
		||||
    )
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -26,11 +26,11 @@ module SettingsHelper
 | 
			
		||||
    device = session.detection.device
 | 
			
		||||
 | 
			
		||||
    if device.mobile?
 | 
			
		||||
      'mobile'
 | 
			
		||||
      'smartphone'
 | 
			
		||||
    elsif device.tablet?
 | 
			
		||||
      'tablet'
 | 
			
		||||
    else
 | 
			
		||||
      'desktop'
 | 
			
		||||
      'desktop_mac'
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user