diff --git a/app/helpers/links_helper.rb b/app/helpers/links_helper.rb index bf2eb909..123241fc 100644 --- a/app/helpers/links_helper.rb +++ b/app/helpers/links_helper.rb @@ -36,6 +36,7 @@ def link_agent_to_icon(link_agent) return :pawslut if link_agent.include? 'PawSlut' return :collin if link_agent.include? 'umbrella Collin\'s Walltaker Setter Thing' return :pawbies if link_agent.include? 'WTPopOutViewer' + return :galaxyfox_macrodroid if link_agent.include? 'galaxyfox-walltaker-macrodroid/' :unknown end diff --git a/app/views/links/_details.html.erb b/app/views/links/_details.html.erb index c9095a39..e08bfd3a 100644 --- a/app/views/links/_details.html.erb +++ b/app/views/links/_details.html.erb @@ -20,6 +20,7 @@ pawslut: :desktop, collin: :desktop, pawbies: :desktop, + galaxyfox_macrodroid: :mobile, unknown: :desktop } %> <% device = devices[client] %> diff --git a/app/views/links/_link.html.erb b/app/views/links/_link.html.erb index eb7a86c4..40ee0e14 100644 --- a/app/views/links/_link.html.erb +++ b/app/views/links/_link.html.erb @@ -192,6 +192,9 @@ <% when :pawbies %> WT Popout + <% when:galaxyfox_macrodroid %> + GalaxyFox's Macrodroid Client + <% when :unknown %> <% end %> @@ -219,4 +222,4 @@ <% if !link.never_expires && link.expires <= Time.now.utc %> <% end %> -<% end %> \ No newline at end of file +<% end %>