gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 14/25: Blue Logo


From: gnunet
Subject: [taler-taler-ios] 14/25: Blue Logo
Date: Mon, 06 Nov 2023 20:40:21 +0100

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit 7c635718d862ff0bc8fa8caf31b97543913a260f
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sat Nov 4 15:36:00 2023 +0100

    Blue Logo
---
 .../taler-logo-2023-blue.imageset/Contents.json       | 12 ++++++++++++
 .../taler-logo-2023-blue.svg                          | 19 +++++++++++++++++++
 .../Views/HelperViews/LaunchAnimationView.swift       |  7 ++++++-
 3 files changed, 37 insertions(+), 1 deletion(-)

diff --git 
a/TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/Contents.json 
b/TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/Contents.json
new file mode 100644
index 0000000..a10ccf1
--- /dev/null
+++ b/TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+  "images" : [
+    {
+      "filename" : "taler-logo-2023-blue.svg",
+      "idiom" : "universal"
+    },
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}
diff --git 
a/TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/taler-logo-2023-blue.svg
 
b/TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/taler-logo-2023-blue.svg
new file mode 100644
index 0000000..b6d9918
--- /dev/null
+++ 
b/TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/taler-logo-2023-blue.svg
@@ -0,0 +1,19 @@
+<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg";>
+<g id="aa" style="fill:blue;fill-rule:evenodd">
+<!-- 90% -->
+<path d="M57.6 43.4
+c-25.5 4.3-44.9 28-44.9 56.5 0 31.5 23.9 57.2 53.3 57.2
+s53.3-25.6 53.3-57.2
+c0-15.4-5.7-29.3-14.9-39.6
+c1.6-1.9 6.3-4.8 6.4-4.6 10 11.6 16.1 27.2 16.1 44.2 0 36-27.3 65.3-60.9 
65.3-33.6 0-60.9-29.3-60.9-65.3
+s27.3-65.3 60.9-65.3
+c1.7 0 5.7.3 5.5.4-4.3 2.3-9.7 5.4-13.9 8.5"/>
+<!-- 40% -->
+<path d="M60.8 149.8
+c-13.4-12-22-29.9-22-50 0-36 27.4-65.2 61.1-65.2 1.5 0 3 .1 4.5.2
+a67.6 67.6 0 0 0-13.4 8.6
+c-25.4 4.5-44.7 28.1-44.7 56.4 0 21.3 11 40 27.3 49.8
+a45.9 45.9 0 0 1-12.7.3z"/>
+</g>
+<use transform="translate(200,200) rotate(180)" href="#aa"/>
+</svg>
\ No newline at end of file
diff --git a/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift 
b/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift
index afce36a..8e923ca 100644
--- a/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift
+++ b/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift
@@ -18,13 +18,18 @@ struct RotatingTaler: View {
     let size: CGFloat
     @Binding var rotationEnabled: Bool
     @State private var rotationDirection = false
+#if TABBAR  // Taler Wallet
+    let logo = "taler-logo-2023-blue"
+#else       // GNU Taler
+    let logo = "taler-logo-2023-red"
+#endif
 
     private let animationTimer = Timer
         .publish(every: 1.6, on: .current, in: .common)
         .autoconnect()
 
     var body: some View {
-        Image("taler-logo-2023-red")
+        Image(logo)
             .resizable()
             .scaledToFit()
             .frame(width: size, height: size)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]