mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-11-13 11:35:59 +01:00
1 parent
5af84583ab
commit
5718ae6805
3 files changed
+32
-3
No files matched your search
@@ -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