Skip to content

Commit

Permalink
Renames ContributedStudyDataView to StudyContributionsView
Browse files Browse the repository at this point in the history
  • Loading branch information
lukbukkit committed Jun 16, 2024
1 parent cbbac19 commit e566a77
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions CellGuard/CellGuard.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
CF0FDCCD296B480B00A6FFE2 /* TrackedUserLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF0FDCCC296B480B00A6FFE2 /* TrackedUserLocation.swift */; };
CF15E1FA2AA33EA200D440AD /* ImportView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF15E1F92AA33EA200D440AD /* ImportView.swift */; };
CF1CD4752BE16C1C009A3582 /* QVerification.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF1CD4742BE16C1C009A3582 /* QVerification.swift */; };
CF1DF87D2C175970008F6F40 /* ContributedStudyDataView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF1DF87C2C175970008F6F40 /* ContributedStudyDataView.swift */; };
CF1DF87E2C17599D008F6F40 /* ContributedStudyDataView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF1DF87C2C175970008F6F40 /* ContributedStudyDataView.swift */; };
CF1DF87D2C175970008F6F40 /* StudyContributionsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF1DF87C2C175970008F6F40 /* StudyContributionsView.swift */; };
CF1DF87E2C17599D008F6F40 /* StudyContributionsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF1DF87C2C175970008F6F40 /* StudyContributionsView.swift */; };
CF1FAFB32986B11200106930 /* CellReachOverlay.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF1FAFB22986B11200106930 /* CellReachOverlay.swift */; };
CF2002E82A2F2BE2000922E6 /* QMIParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF2002E72A2F2BE2000922E6 /* QMIParser.swift */; };
CF2002EA2A2F2BEA000922E6 /* ARIParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF2002E92A2F2BEA000922E6 /* ARIParser.swift */; };
Expand Down Expand Up @@ -383,7 +383,7 @@
CF0FDCCC296B480B00A6FFE2 /* TrackedUserLocation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrackedUserLocation.swift; sourceTree = "<group>"; };
CF15E1F92AA33EA200D440AD /* ImportView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImportView.swift; sourceTree = "<group>"; };
CF1CD4742BE16C1C009A3582 /* QVerification.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QVerification.swift; sourceTree = "<group>"; };
CF1DF87C2C175970008F6F40 /* ContributedStudyDataView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContributedStudyDataView.swift; sourceTree = "<group>"; };
CF1DF87C2C175970008F6F40 /* StudyContributionsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StudyContributionsView.swift; sourceTree = "<group>"; };
CF1FAFB22986B11200106930 /* CellReachOverlay.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CellReachOverlay.swift; sourceTree = "<group>"; };
CF2002E72A2F2BE2000922E6 /* QMIParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QMIParser.swift; sourceTree = "<group>"; };
CF2002E92A2F2BEA000922E6 /* ARIParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ARIParser.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -642,7 +642,7 @@
CF1DF87B2C175964008F6F40 /* Study */ = {
isa = PBXGroup;
children = (
CF1DF87C2C175970008F6F40 /* ContributedStudyDataView.swift */,
CF1DF87C2C175970008F6F40 /* StudyContributionsView.swift */,
);
path = Study;
sourceTree = "<group>";
Expand Down Expand Up @@ -1322,7 +1322,7 @@
CFEC5E772BD1816B004978FA /* CellGuardURLs.swift in Sources */,
CFB6CF262BD122FA00EAB7B4 /* VerificationProgressView.swift in Sources */,
CFB6CF272BD122FA00EAB7B4 /* CellLocationDistance.swift in Sources */,
CF1DF87E2C17599D008F6F40 /* ContributedStudyDataView.swift in Sources */,
CF1DF87E2C17599D008F6F40 /* StudyContributionsView.swift in Sources */,
CFB6CF282BD122FA00EAB7B4 /* PersistenceController.swift in Sources */,
45ECF5762BFC025300DD92CF /* DebugProfileDetailedView.swift in Sources */,
CFB6CF292BD122FA00EAB7B4 /* ALSTechnology.swift in Sources */,
Expand Down Expand Up @@ -1467,7 +1467,7 @@
CFEC5E762BD1808E004978FA /* CellGuardURLs.swift in Sources */,
CF0A5678298A7A910012B2A8 /* VerificationProgressView.swift in Sources */,
CF446754298D2A040083EE63 /* CellLocationDistance.swift in Sources */,
CF1DF87D2C175970008F6F40 /* ContributedStudyDataView.swift in Sources */,
CF1DF87D2C175970008F6F40 /* StudyContributionsView.swift in Sources */,
CFD023402961A10D00AA5A1C /* PersistenceController.swift in Sources */,
45ECF5752BFC025300DD92CF /* DebugProfileDetailedView.swift in Sources */,
CFCE7A8C29817E2500E28787 /* ALSTechnology.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct SettingsView: View {
}

NavigationLink {
ContributedStudyDataView()
StudyContributionsView()
} label: {
Text("Your Contributions")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import SwiftUI

struct ContributedStudyDataView: View {
struct StudyContributionsView: View {
var body: some View {
// TODO: Implement
// TODO: Show message if so far no data has been transmitted
Expand All @@ -21,5 +21,5 @@ struct ContributedStudyDataView: View {
}

#Preview {
ContributedStudyDataView()
StudyContributionsView()
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ struct RiskInfoView: View {
}
}

// TODO: This might causes issues on iOS 14
if risk >= .Medium(cause: .Cells(cellCount: 1)) {
Section(header: Text("Affected Cells")) {
let calendar = Calendar.current
Expand Down Expand Up @@ -71,7 +72,7 @@ struct RiskInfoView: View {
} else {
Section(header: Text("Study"), footer: Text("Thank you for contributing to the CellGuard study. Your input will help us improve our metrics and uncover fake base station abuse.")) {
NavigationLink {
ContributedStudyDataView()
StudyContributionsView()
} label: {
Text("Your Contributions")
}
Expand Down

0 comments on commit e566a77

Please sign in to comment.