Upgrade golangci-lint
This commit is contained in:
@@ -802,8 +802,8 @@ func (u *ui) prefillAdvancedSyncRemoteFromSavedBinding() {
|
||||
}
|
||||
|
||||
func (u *ui) syncDialogTitle() string {
|
||||
switch {
|
||||
case u.syncDialogPurpose == syncDialogPurposeRemoteSetup:
|
||||
switch u.syncDialogPurpose {
|
||||
case syncDialogPurposeRemoteSetup:
|
||||
if _, ok := u.selectedVaultRemoteBinding(); ok {
|
||||
return "Remote Sync Settings"
|
||||
}
|
||||
@@ -814,8 +814,8 @@ func (u *ui) syncDialogTitle() string {
|
||||
}
|
||||
|
||||
func (u *ui) syncDialogDescription() string {
|
||||
switch {
|
||||
case u.syncDialogPurpose == syncDialogPurposeRemoteSetup:
|
||||
switch u.syncDialogPurpose {
|
||||
case syncDialogPurposeRemoteSetup:
|
||||
if _, ok := u.selectedVaultRemoteBinding(); ok {
|
||||
return "Review or change this vault's saved WebDAV target, credentials, and sync mode."
|
||||
}
|
||||
@@ -826,8 +826,8 @@ func (u *ui) syncDialogDescription() string {
|
||||
}
|
||||
|
||||
func (u *ui) syncDialogConfirmButtonLabel() string {
|
||||
switch {
|
||||
case u.syncDialogPurpose == syncDialogPurposeRemoteSetup:
|
||||
switch u.syncDialogPurpose {
|
||||
case syncDialogPurposeRemoteSetup:
|
||||
if _, ok := u.selectedVaultRemoteBinding(); ok {
|
||||
return "Save Remote Sync Settings"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user