From 2fc2dcd1c39b81544177c00ec39bb0970e7e69f4 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 20 Dec 2021 03:22:25 +0000 Subject: [PATCH] Unify the touch request messages This is also a good test for sending emojis through the age plugin IPC protocol. --- src/key.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/key.rs b/src/key.rs index f208d4e..6c0eedb 100644 --- a/src/key.rs +++ b/src/key.rs @@ -409,11 +409,11 @@ impl Connection { self.last_touch, ) { (Some(TouchPolicy::Always), _) | (Some(TouchPolicy::Cached), None) => { - callbacks.message("Please touch the YubiKey...")?.unwrap(); + callbacks.message("👆 Please touch the YubiKey")?.unwrap(); true } (Some(TouchPolicy::Cached), Some(last)) if last.elapsed() >= FIFTEEN_SECONDS => { - callbacks.message("Please touch the YubiKey...")?.unwrap(); + callbacks.message("👆 Please touch the YubiKey")?.unwrap(); true } _ => false,