mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Remove unnecessary marks, they bring little value
This commit is contained in:
committed by
Stefan Ceriu
parent
198127c5d7
commit
9589c689c3
@@ -18,18 +18,10 @@ import SwiftUI
|
||||
|
||||
/// A prompt that asks the user whether they would like to enable Analytics or not.
|
||||
struct AnalyticsPrompt: View {
|
||||
// MARK: - Properties
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let horizontalPadding: CGFloat = 16
|
||||
|
||||
// MARK: Public
|
||||
|
||||
@ObservedObject var context: AnalyticsPromptViewModel.Context
|
||||
|
||||
// MARK: Views
|
||||
|
||||
var body: some View {
|
||||
GeometryReader { geometry in
|
||||
ScrollView {
|
||||
|
||||
@@ -17,14 +17,8 @@
|
||||
import SwiftUI
|
||||
|
||||
struct AnalyticsPromptCheckmarkItem: View {
|
||||
// MARK: - Properties
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private let attributedString: AttributedString
|
||||
|
||||
// MARK: - Setup
|
||||
|
||||
init(attributedString: AttributedString) {
|
||||
self.attributedString = attributedString
|
||||
}
|
||||
@@ -33,8 +27,6 @@ struct AnalyticsPromptCheckmarkItem: View {
|
||||
attributedString = AttributedString(string)
|
||||
}
|
||||
|
||||
// MARK: - Views
|
||||
|
||||
var body: some View {
|
||||
Label { Text(attributedString) } icon: {
|
||||
Image(uiImage: Asset.Images.analyticsCheckmark.image)
|
||||
|
||||
Reference in New Issue
Block a user