aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2023-11-04 15:36:00 +0100
committerMarc Stibane <marc@taler.net>2023-11-04 15:38:56 +0100
commit7c635718d862ff0bc8fa8caf31b97543913a260f (patch)
treec1ee558293f65e0ae60d0f790522535f609b6659
parentb4e57fd906e3f4723014cbcbe5dcc715d14d0406 (diff)
downloadtaler-ios-7c635718d862ff0bc8fa8caf31b97543913a260f.tar.gz
taler-ios-7c635718d862ff0bc8fa8caf31b97543913a260f.tar.bz2
taler-ios-7c635718d862ff0bc8fa8caf31b97543913a260f.zip
Blue Logo
-rw-r--r--TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/Contents.json12
-rw-r--r--TalerWallet1/Assets.xcassets/taler-logo-2023-blue.imageset/taler-logo-2023-blue.svg19
-rw-r--r--TalerWallet1/Views/HelperViews/LaunchAnimationView.swift7
3 files changed, 37 insertions, 1 deletions
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)