Mercurial > public > simoleon
comparison Simoleon/ContentView.swift @ 68:aa451ca55e48 v1.2.1
Fixes minor bugs
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 28 Jul 2021 10:10:18 +0100 |
parents | b0bce2c8e4a9 |
children | 1f657241c28f |
comparison
equal
deleted
inserted
replaced
67:8f45ba7a279f | 68:aa451ca55e48 |
---|---|
22 Conversion(currencyPair: defaultCurrency.first?.pair ?? "USD/GBP") | 22 Conversion(currencyPair: defaultCurrency.first?.pair ?? "USD/GBP") |
23 .tabItem { | 23 .tabItem { |
24 Label("Convert", systemImage: "arrow.counterclockwise.circle") | 24 Label("Convert", systemImage: "arrow.counterclockwise.circle") |
25 } | 25 } |
26 .tag(Tab.convert) | 26 .tag(Tab.convert) |
27 .accessibilityIdentifier("Convert") | |
28 | 27 |
29 Favorites() | 28 Favorites() |
30 .tabItem { | 29 .tabItem { |
31 Label("Favorites", systemImage: "star") | 30 Label("Favorites", systemImage: "star") |
32 } | 31 } |
33 .tag(Tab.favorites) | 32 .tag(Tab.favorites) |
34 .accessibilityIdentifier("Favorites") | |
35 | 33 |
36 Settings() | 34 Settings() |
37 .tabItem { | 35 .tabItem { |
38 Label("Settings", systemImage: "gear") | 36 Label("Settings", systemImage: "gear") |
39 } | 37 } |
40 .tag(Tab.settings) | 38 .tag(Tab.settings) |
41 .accessibilityIdentifier("Settings") | |
42 } | 39 } |
43 } | 40 } |
44 } | 41 } |
45 | 42 |
46 struct ContentView_Previews: PreviewProvider { | 43 struct ContentView_Previews: PreviewProvider { |
47 static var previews: some View { | 44 static var previews: some View { |
48 ContentView() | 45 ContentView() |
49 .environment(\.locale, Locale(identifier: "es")) | |
50 } | 46 } |
51 } | 47 } |