lib/model: Switch the remoteFolderState default value to valid (#8275)

Showing all folders from disconnected or paused remote devices as
unaccepted would be a lot of false positives.  As we cannot know
whether the remote has accepted while it doesn't have an active
connection, let's better report false negatives, as in assuming the
folders are accepted.
This commit is contained in:
André Colomb 2022-04-13 18:15:58 +02:00 committed by GitHub
parent 0525c755f4
commit 0537b9546f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,9 +55,9 @@ func (s folderState) String() string {
type remoteFolderState int
const (
remoteNotSharing remoteFolderState = iota
remoteValid remoteFolderState = iota
remoteNotSharing
remotePaused
remoteValid
)
type stateTracker struct {