From 75e171a11a2e12ab67f3c77e817991065369880e Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Mon, 25 Mar 2019 17:50:05 +0530 Subject: [PATCH] Show refresh button only if type is the HOTP --- src/contents/ui/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml index 03ee5c8..1a26057 100644 --- a/src/contents/ui/main.qml +++ b/src/contents/ui/main.qml @@ -83,6 +83,7 @@ Kirigami.ApplicationWindow { Layout.alignment: Qt.AlignRight|Qt.AlignVCenter Layout.columnSpan: 2 text: "Refresh" + visible: model.type == Account.TypeHOTP } } }