Skip to content

Commit

Permalink
Add privacy links. (eu-digital-green-certificates#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
yspreen authored May 16, 2021
1 parent f716da9 commit cfa97b5
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 58 deletions.
6 changes: 1 addition & 5 deletions DGCAVerifier.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
CE345FAF264466AA003B457E /* CertificateViewer.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CE345FB1264466AA003B457E /* CertificateViewer.storyboard */; };
CE345FB426446817003B457E /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = CE345FB626446817003B457E /* Localizable.strings */; };
CE37B643263867D700DEE13D /* SecureBackground.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE37B642263867D700DEE13D /* SecureBackground.swift */; };
CE41B7E226445092005013C4 /* AppVersionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE41B7E126445092005013C4 /* AppVersionCell.swift */; };
CE56B5052639F48E00FB31B1 /* SwiftDGC in Frameworks */ = {isa = PBXBuildFile; productRef = CE56B5042639F48E00FB31B1 /* SwiftDGC */; };
CE59D1B626428D78004EBDD6 /* Settings.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE59D1B526428D78004EBDD6 /* Settings.swift */; };
CE8096D9263B07BB00A65AD6 /* UIColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE8096D8263B07BB00A65AD6 /* UIColor.swift */; };
Expand Down Expand Up @@ -67,7 +66,6 @@
CE345FB0264466AA003B457E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/CertificateViewer.storyboard; sourceTree = "<group>"; };
CE345FB526446817003B457E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
CE37B642263867D700DEE13D /* SecureBackground.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecureBackground.swift; sourceTree = "<group>"; };
CE41B7E126445092005013C4 /* AppVersionCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppVersionCell.swift; sourceTree = "<group>"; };
CE59D1B526428D78004EBDD6 /* Settings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Settings.swift; sourceTree = "<group>"; };
CE8096D8263B07BB00A65AD6 /* UIColor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIColor.swift; sourceTree = "<group>"; };
CE81533B263FF8FE0030D777 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
Expand All @@ -90,7 +88,7 @@
CEA6D709261F8D2900715333 /* DGCAVerifierUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DGCAVerifierUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
CEA6D70D261F8D2900715333 /* DGCAVerifierUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DGCAVerifierUITests.swift; sourceTree = "<group>"; };
CEA6D70F261F8D2900715333 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
CEC7FEE0264C819D005561BA /* context.jsonc */ = {isa = PBXFileReference; lastKnownFileType = file; path = context.jsonc; sourceTree = SOURCE_ROOT; };
CEC7FEE0264C819D005561BA /* context.jsonc */ = {isa = PBXFileReference; lastKnownFileType = text; path = context.jsonc; sourceTree = SOURCE_ROOT; };
CED2725F26398683003D47A9 /* UIFont.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIFont.swift; sourceTree = "<group>"; };
CEDCA7972639E6E700FCB83E /* SwiftDGC */ = {isa = PBXFileReference; lastKnownFileType = folder; name = SwiftDGC; path = "../dgca-app-core-ios"; sourceTree = "<group>"; };
CEDCA79B2639E77800FCB83E /* Package.resolved */ = {isa = PBXFileReference; lastKnownFileType = text; name = Package.resolved; path = DGCAVerifier.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved; sourceTree = SOURCE_ROOT; };
Expand Down Expand Up @@ -172,7 +170,6 @@
CE13CF0E262DD0D80070C80E /* FullFloatingPanelLayout.swift */,
CE13CF22262DDF810070C80E /* RoundedButton.swift */,
CEA1556A262F784E0024B7AC /* SelfSizedTableView.swift */,
CE41B7E126445092005013C4 /* AppVersionCell.swift */,
CEA1556F262F79DE0024B7AC /* InfoCell.swift */,
);
path = Components;
Expand Down Expand Up @@ -445,7 +442,6 @@
CE13CF0F262DD0D80070C80E /* FullFloatingPanelLayout.swift in Sources */,
CEA1556B262F784E0024B7AC /* SelfSizedTableView.swift in Sources */,
CE8096D9263B07BB00A65AD6 /* UIColor.swift in Sources */,
CE41B7E226445092005013C4 /* AppVersionCell.swift in Sources */,
CE1D1EF6263597A2004C8919 /* LocalData.swift in Sources */,
CED2726026398683003D47A9 /* UIFont.swift in Sources */,
CEA6D6F0261F8D2700715333 /* Scan.swift in Sources */,
Expand Down
40 changes: 0 additions & 40 deletions DGCAVerifier/Components/AppVersionCell.swift

This file was deleted.

88 changes: 82 additions & 6 deletions DGCAVerifier/Storyboards/Base.lproj/Settings.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,91 @@
<scene sceneID="Hw4-MU-mk3">
<objects>
<tableViewController id="3yC-8G-HqR" customClass="SettingsTableVC" customModule="DGCAVerifier" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="2lW-EJ-Zq6">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="2lW-EJ-Zq6">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" systemColor="systemGray6Color"/>
<sections>
<tableViewSection headerTitle="Links" id="MwP-Io-S91">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="blue" accessoryType="disclosureIndicator" indentationLevel="1" indentationWidth="0.0" rowHeight="50" id="DhG-Eu-ucf">
<rect key="frame" x="0.0" y="49.5" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DhG-Eu-ucf" id="GUk-P8-NvD">
<rect key="frame" x="0.0" y="0.0" width="384.5" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Privacy Information" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gMd-yI-bmR">
<rect key="frame" x="20" y="11" width="356.5" height="28"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" name="blue"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="trailingMargin" secondItem="gMd-yI-bmR" secondAttribute="trailing" id="59q-qQ-DQO"/>
<constraint firstItem="gMd-yI-bmR" firstAttribute="top" secondItem="GUk-P8-NvD" secondAttribute="topMargin" id="77k-rv-a2W"/>
<constraint firstItem="gMd-yI-bmR" firstAttribute="leading" secondItem="GUk-P8-NvD" secondAttribute="leadingMargin" id="Hak-LZ-JQg"/>
<constraint firstAttribute="bottomMargin" secondItem="gMd-yI-bmR" secondAttribute="bottom" id="dlY-2C-E20"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="blue" accessoryType="disclosureIndicator" indentationLevel="1" indentationWidth="0.0" rowHeight="50" id="Fa8-xq-hL6">
<rect key="frame" x="0.0" y="99.5" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Fa8-xq-hL6" id="yrv-PR-oRN">
<rect key="frame" x="0.0" y="0.0" width="384.5" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="EU Digital Green Certificate" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3C9-S9-3Vo">
<rect key="frame" x="20" y="11" width="356.5" height="28"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" name="blue"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="trailingMargin" secondItem="3C9-S9-3Vo" secondAttribute="trailing" id="2Cv-Ma-buY"/>
<constraint firstAttribute="bottomMargin" secondItem="3C9-S9-3Vo" secondAttribute="bottom" id="6Zm-WG-QDs"/>
<constraint firstItem="3C9-S9-3Vo" firstAttribute="top" secondItem="yrv-PR-oRN" secondAttribute="topMargin" id="X76-9b-dWt"/>
<constraint firstItem="3C9-S9-3Vo" firstAttribute="leading" secondItem="yrv-PR-oRN" secondAttribute="leadingMargin" id="aGb-9I-eov"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="blue" accessoryType="disclosureIndicator" indentationLevel="1" indentationWidth="0.0" rowHeight="50" id="iBH-hj-vpK">
<rect key="frame" x="0.0" y="149.5" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="iBH-hj-vpK" id="6t4-Au-mBa">
<rect key="frame" x="0.0" y="0.0" width="384.5" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GitHub Page" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="U16-Hl-qjj">
<rect key="frame" x="20" y="11" width="356.5" height="28"/>
<accessibility key="accessibilityConfiguration">
<accessibilityTraits key="traits" staticText="YES" notEnabled="YES"/>
</accessibility>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" name="blue"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="U16-Hl-qjj" firstAttribute="leading" secondItem="6t4-Au-mBa" secondAttribute="leadingMargin" id="BqC-mc-fAV"/>
<constraint firstItem="U16-Hl-qjj" firstAttribute="top" secondItem="6t4-Au-mBa" secondAttribute="topMargin" id="HIa-P1-H39"/>
<constraint firstAttribute="bottomMargin" secondItem="U16-Hl-qjj" secondAttribute="bottom" id="Mdc-a4-2AX"/>
<constraint firstAttribute="trailingMargin" secondItem="U16-Hl-qjj" secondAttribute="trailing" id="fhl-fG-V8p"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="Trusted Public Keys" footerTitle="Last updated: 2021-05-01 20:00:00" id="eFb-hd-Bdj">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="50" id="PNB-E7-7Sz">
<rect key="frame" x="0.0" y="49.5" width="414" height="50"/>
<rect key="frame" x="0.0" y="257" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="PNB-E7-7Sz" id="r9F-Dp-Vgr">
<rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
Expand Down Expand Up @@ -57,8 +133,8 @@
</tableViewSection>
<tableViewSection id="ZWb-W8-ctm">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="50" id="WNk-DL-0mK">
<rect key="frame" x="0.0" y="144" width="414" height="50"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="50" id="WNk-DL-0mK" customClass="BorderLessSectionCell" customModule="SwiftDGC">
<rect key="frame" x="0.0" y="351.5" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="WNk-DL-0mK" id="6VX-Mr-f32">
<rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
Expand All @@ -82,8 +158,8 @@
</tableViewSection>
<tableViewSection id="KQQ-gB-Jez">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="70" id="trH-0v-yYO" customClass="AppVersionCell" customModule="DGCAVerifier" customModuleProvider="target">
<rect key="frame" x="0.0" y="230" width="414" height="70"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="70" id="trH-0v-yYO" customClass="AppVersionCell" customModule="SwiftDGC">
<rect key="frame" x="0.0" y="437.5" width="414" height="70"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="trH-0v-yYO" id="JsN-kr-KFe">
<rect key="frame" x="0.0" y="0.0" width="414" height="70"/>
Expand Down
Loading

0 comments on commit cfa97b5

Please sign in to comment.