payfrit-beacon-ios/PayfritBeacon/Views/DevBanner.swift
Schwifty 09db3e8ec7 fix: resolve ambiguous color references by removing ShapeStyle extension
The ShapeStyle where Self == Color extension duplicated Color statics,
causing 'ambiguous use' errors in foregroundStyle/stroke/tint/background
contexts. Removed the extension entirely and use explicit Color.xxx prefix
at all call sites instead.
2026-03-22 19:40:51 +00:00

14 lines
391 B
Swift

import SwiftUI
/// Orange DEV banner overlay (matches Android's DevBanner)
struct DevBanner: View {
var body: some View {
Text("DEV")
.font(.caption2.bold())
.foregroundStyle(.white)
.padding(.horizontal, 12)
.padding(.vertical, 4)
.background(Color.warningOrange, in: Capsule())
.padding(.top, 4)
}
}