-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
286 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ios/MullvadVPN/View controllers/ChangeLog/BulletPointText.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// BulletPointText.swift | ||
// MullvadVPN | ||
// | ||
// Created by Mojgan on 2025-01-10. | ||
// Copyright © 2025 Mullvad VPN AB. All rights reserved. | ||
// | ||
import SwiftUI | ||
|
||
struct BulletPointText: View { | ||
let text: String | ||
let bullet = "•" | ||
|
||
var body: some View { | ||
HStack(alignment: .firstTextBaseline) { | ||
Text(bullet) | ||
.font(.body) | ||
.foregroundColor(UIColor.secondaryTextColor.color) | ||
Text(text) | ||
.font(.body) | ||
.foregroundColor(UIColor.secondaryTextColor.color) | ||
.lineLimit(nil) | ||
.multilineTextAlignment(.leading) | ||
} | ||
.frame(maxWidth: .infinity, alignment: .leading) | ||
} | ||
} |
59 changes: 0 additions & 59 deletions
59
ios/MullvadVPN/View controllers/ChangeLog/ChangeLogInteractor.swift
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
ios/MullvadVPN/View controllers/ChangeLog/ChangeLogModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// ChangeLogModel.swift | ||
// MullvadVPN | ||
// | ||
// Created by Mojgan on 2025-01-10. | ||
// Copyright © 2025 Mullvad VPN AB. All rights reserved. | ||
// | ||
|
||
struct ChangeLogModel { | ||
let title: String | ||
let changes: [String] | ||
} |
Oops, something went wrong.