fix that dialog keeps on popping up to install nextcloud files app when using manual login

This commit is contained in:
David Luhmer 2019-11-27 20:51:17 +01:00
parent 42a0230df3
commit 1d1efe2701

View file

@ -78,7 +78,9 @@ public class PodcastFragmentActivity extends AppCompatActivity implements IPlayP
super.onCreate(savedInstanceState);
ThemeChooser.afterOnCreate(this);
if (mApi.getAPI() instanceof Proxy) { // Single Sign On
//if (mApi.getAPI() instanceof Proxy) { // doesn't work.. retrofit is also a "proxy"
boolean useSSO = mPrefs.getBoolean(SettingsActivity.SW_USE_SINGLE_SIGN_ON, false);
if(useSSO) {
VersionCheckHelper.verifyMinVersion(this, MIN_NEXTCLOUD_FILES_APP_VERSION_CODE);
}