mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-03-05 17:27:24 +01:00
@@ -66,12 +66,12 @@ struct CopyableView: View {
|
||||
)
|
||||
}
|
||||
|
||||
var hoverText: String {
|
||||
var hoverText: LocalizedStringKey {
|
||||
switch interactionState {
|
||||
case .hovering:
|
||||
return "Click to Copy"
|
||||
return "copyable_click_to_copy_button"
|
||||
case .clicking:
|
||||
return "Copied"
|
||||
return "copyable_copied"
|
||||
case .normal:
|
||||
fatalError()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user