Update Drive.java

This commit is contained in:
FongMi 2022-11-30 23:23:35 +08:00
parent 2f2667fadc
commit 14c05cc989
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class Drive {
} }
private void checkVersion() { private void checkVersion() {
if (getVersion() == 0) setVersion(OkHttpUtil.string(settingsApi()).contains("v3.") ? 3 : 2); if (version == 0) setVersion(OkHttpUtil.string(settingsApi()).contains("v3.") ? 3 : 2);
} }
@Override @Override