diff --git a/app/components/rs_auth_component.html.erb b/app/components/rs_auth_component.html.erb index 8a40970..18ffcc8 100644 --- a/app/components/rs_auth_component.html.erb +++ b/app/components/rs_auth_component.html.erb @@ -1,6 +1,12 @@
+ <% if @web_app.icon.attached? %> <%= image_tag s3_image_url(@web_app.icon), class: "h-full w-full" %> + <% elsif @web_app.apple_touch_icon.attached? %> + <%= image_tag s3_image_url(@web_app.apple_touch_icon), class: "h-full w-full" %> + <% else %> + <%= render partial: "icons/remotestorage", locals: { custom_class: "h-full w-full p-0.5 text-gray-200" } %> + <% end %>