Unverified Commit 5b6cef06 authored by flaburgan's avatar flaburgan Committed by Benjamin Neff
Browse files

Remove legacy mobile web-capable

parent d4434013
Loading
Loading
Loading
Loading
−17.3 KiB
Loading image diff...
+22 −0
Original line number Diff line number Diff line
# frozen_string_literal: true

class ManifestController < ApplicationController
  def show
    render json: '{
      "short_name": "diaspora*",
      "name": "diaspora*",
      "description": "diaspora* is a free, decentralized and privacy respectful social network",
      "icons": [
        {
          "src": "/icon.png",
          "type": "image/png",
          "sizes": "192x192"
        }
      ],
      "start_url": "/",
      "background_color": "#000000",
      "display": "standalone",
      "theme_color": "#000000"
    }'
  end
end
+0 −2
Original line number Diff line number Diff line
@@ -4,8 +4,6 @@
%meta{charset: "utf-8"}/
= content_for?(:meta_data) ? yield(:meta_data) : metas_tags

%meta{content: "yes", name: "mobile-web-app-capable"}/

/ favicon
/ For Apple devices
%link{rel: "apple-touch-icon", href: image_path("apple-touch-icon.png")}
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
      = load_javascript_locales

    = include_color_theme
    = render "head"
    = render "layouts/head"
    = translation_missing_warnings

  %body{class: "page-#{controller_name} action-#{action_name}"}
+0 −5
Original line number Diff line number Diff line
@@ -17,11 +17,6 @@
    %meta{name: "MobileOptimized", content: "320"}/
    %meta{"http-equiv" => "cleartype", :content => "on"}/

    / iOS mobile web app indicator
    / NOTE(we will enable these once we don't have to rely on back/forward buttons anymore)
    /%meta{:name => "apple-mobile-web-app-capable", :content => "yes"}
    /%link{:rel => "apple-touch-startup-image", :href => "/images/apple-splash.png"}

  %body
    #app
      = render "layouts/header"
Loading