Loading
fix(settings): fix switching to sign-in screen while single source was checked and clicked/tapped
In the Settings screen, when only a single source was selected among the three checkboxes (GPlay, Open Source or PWA) and the selected checkbox was tapped/clicked, the code incorrectly set the state so that sign-in fragment is shown. Without tapping/clicing on the single selected checkbox, the behaviour would follow correct user experience. With this fix, the checkbox change is handled in the correct else block so that clicking on the only checked checkbox doesn't do anything other than showing a Toast to the user.