Files
Termind/TFI/UI/Components/MobileOverflowMenuLabel.swift
T

16 lines
384 B
Swift

import SwiftUI
/// Keeps every mobile overflow menu on the same symbol while preserving a contextual accessible name.
struct MobileOverflowMenuLabel: View {
let title: LocalizedStringKey
init(_ title: LocalizedStringKey) {
self.title = title
}
var body: some View {
Image(systemName: "ellipsis")
.accessibilityLabel(Text(title))
}
}