Merge pull request #1858 from cewert/fix-loginflow-crash

This commit is contained in:
Charles Ewert 2024-07-24 19:03:03 -04:00 committed by GitHub
commit 8a15bf8870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,9 +42,10 @@ function LoginFlow()
SendPerformanceBeacon("AppDialogInitiate") ' Roku Performance monitoring - Dialog Starting
publicUsers = GetPublicUsers()
savedUsers = getSavedUsers()
numPubUsers = 0
if isValid(publicUsers) then numPubUsers = publicUsers.count()
numPubUsers = publicUsers.count()
savedUsers = getSavedUsers()
numSavedUsers = savedUsers.count()
if numPubUsers > 0 or numSavedUsers > 0