π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Fixing display issues related to custom icons (#11048)
blue63a73eb146f3
diff --git a/mobile/apps/auth/assets/custom-icons/_data/custom-icons.json b/mobile/apps/auth/assets/custom-icons/_data/custom-icons.jsonindex be8d2d3362..355e2a5d04 100644--- a/mobile/apps/auth/assets/custom-icons/_data/custom-icons.json+++ b/mobile/apps/auth/assets/custom-icons/_data/custom-icons.json@@ -649,6 +649,11 @@"deSEC.io"]},+ {+ "title": "Deutsche Post",+ "slug": "deutschepost",+ "hex": "ffcc00"+ },{"title": "DigiFinex","altNames": [@@ -1424,6 +1429,7 @@{"title": "Mozilla","slug": "mozilla",+ "hex": "000000","altNames": ["Mozilla Account"]@@ -1527,7 +1533,7 @@},{"title": "Nintendo",- "hex": "E60012",+ "hex": "000000","altNames": ["\u4efb\u5929\u5802","Nintendo Account"@@ -2053,8 +2059,7 @@},{"title": "Square Enix",- "slug": "square_enix",- "hex": "ED1C24"+ "slug": "square_enix"},{"title": "Standard Notes",@@ -2573,4 +2578,4 @@]}]-}\ No newline at end of file+}diff --git a/mobile/apps/auth/assets/custom-icons/icons/deutschepost.svg b/mobile/apps/auth/assets/custom-icons/icons/deutschepost.svgnew file mode 100644index 0000000000..e04ee82d97--- /dev/null+++ b/mobile/apps/auth/assets/custom-icons/icons/deutschepost.svg@@ -0,0 +1,7 @@+<svg viewBox="0 0 673.3 531.7" xmlns="http://www.w3.org/2000/svg" fill="none">+<path d="M220.8,440.5h89.4L220,531.7h-89.4L220.8,440.5z M9.9,531.7h89.4l90.3-91.2h-89.4L9.9,531.7z M420.4,440.5H331l90.3,91.2+ h89.4L420.4,440.5z M541,440.5h-89.4l90.3,91.2h89.4L541,440.5z M673.3,75.5C660.6,261.4,521,424.2,313.8,424.1+ C79.5,424-11.1,220.6,1.1,66.5l68.8-21.9c-11.2,87.7,16,151,34.8,180C82.3,100.5,176.2,0.1,293.6,0c105.6-0.1,193,76.9,192.6,187.4+ c15.5-42.2,26.3-106.4,28.5-151.3L673.3,75.5z M420.9,191.3c0-70-56.8-126.7-127-126.7c-70.1,0-126.9,56.7-126.9,126.7+ S223.8,318,293.9,318C364.1,318,420.9,261.3,420.9,191.3L420.9,191.3z" fill="black"/>+</svg>\ No newline at end of filediff --git a/mobile/apps/auth/assets/custom-icons/icons/esl.svg b/mobile/apps/auth/assets/custom-icons/icons/esl.svgindex 8d69b11759..a78cfad53c 100644--- a/mobile/apps/auth/assets/custom-icons/icons/esl.svg+++ b/mobile/apps/auth/assets/custom-icons/icons/esl.svg@@ -2,9 +2,4 @@<g><path fill="white" d="M43.2,0C19.3,0,0,19.3,0,43.2s19.3,43.2,43.2,43.2S86.3,67,86.3,43.2S67,0,43.2,0z M12,59.9L44.8,7.8 c7.9,0.4,15.1,3.3,20.8,8L15.8,65.6C14.3,63.9,13,61.9,12,59.9z M20.8,70.7l49.8-49.8c4.7,5.7,7.6,13,7.9,20.9l-52,32.7 C24.5,73.4,22.6,72.1,20.8,70.7z M35,77.6l42.8-27C74.6,66.7,57.6,82.6,35,77.6z"/></g>-<g>-<path fill="black" d="M44.8,7.8L12,59.9c1.1,2,2.4,3.9,3.8,5.7l49.8-49.8C59.9,11.1,52.7,8.1,44.8,7.8z"/>-<path fill="black" d="M70.7,20.8L20.8,70.7c1.8,1.4,3.7,2.7,5.7,3.8l52-32.7C78.2,33.8,75.3,26.6,70.7,20.8z"/>-<path fill="black" d="M77.8,50.7L35,77.6C57.6,82.6,74.6,66.7,77.8,50.7z"/>-</g></svg>diff --git a/mobile/apps/auth/assets/custom-icons/icons/mozilla.svg b/mobile/apps/auth/assets/custom-icons/icons/mozilla.svgindex 64f2a7a43a..91b4082aac 100644--- a/mobile/apps/auth/assets/custom-icons/icons/mozilla.svg+++ b/mobile/apps/auth/assets/custom-icons/icons/mozilla.svg@@ -1 +1,5 @@-<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 199.1 233.1" viewBox="0 0 199.1 233.1"><path d="M29.8 233.1H0V0h29.8v233.1zm24.4-114.2h118v-6.7l-76.9-28V60.7l76.9-27.9V26H81.1V0h118v47.5l-62.6 21.6v6.7l62.6 21.6v47.5H54.2v-26zm0-92.9h26.9v26.9H54.2V26z" fill="#00D230"/></svg>+<svg viewBox="0 0 199.1 233.1" fill="none" xmlns="http://www.w3.org/2000/svg">+<g>+<path d="M29.8 233.1H0V0h29.8zm24.4-114.2h118v-6.7l-76.9-28V60.7l76.9-27.9V26H81.1V0h118v47.5l-62.6 21.6v6.7l62.6 21.6v47.5H54.2zm0-92.9h26.9v26.9H54.2z" fill="white"/>+</g>+</svg>diff --git a/mobile/apps/auth/assets/custom-icons/icons/square_enix.svg b/mobile/apps/auth/assets/custom-icons/icons/square_enix.svgindex 0552fe0329..b8f48e54d0 100644--- a/mobile/apps/auth/assets/custom-icons/icons/square_enix.svg+++ b/mobile/apps/auth/assets/custom-icons/icons/square_enix.svg@@ -1,6 +1,6 @@-<svg viewBox="0 0 25.3 29.6" fill="none" xmlns="http://www.w3.org/2000/svg">-<g>-<polygon points="6.6,5.1 25.1,5.1 25.1,0 0,0 0,29.6 25.3,29.6 25.3,24.1 6.6,24.1" fill="white"/>-</g>-<rect x="12" y="11.7" width="10.6" height="5.6" fill="#ED1C24"/>-</svg>\ No newline at end of file+<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">+<circle cx="256" cy="256" r="256" fill="black"/>+<polygon points="329.2,191.3 451.6,191.3 451.6,157.8 285.7,157.8 285.7,354.2 453.4,354.2 453.4,317.3 329.2,317.3" fill="white"/>+<rect x="365.1" y="235.1" width="70.4" height="36.9" fill="#ED1C24"/>+<path d="M58.4,317.3c0,28.9,14.4,36.9,46.3,36.9h116.6c35.2,0,46.7-9.5,46.7-46.4v-27c0-36.9-11.6-46.4-46.7-46.4H104.7v-42.8h122.5v18h38.4v-8.8c0-33.9-13-43-46.4-43H113c-35.2,0-46.4,9.5-46.4,46.4v21.7c0,36.9,11.2,46.4,46.4,46.4h116.7v44.9H58.4z" fill="white"/>+</svg>