Avoid showing download path warning for the first time
This commit is contained in:
1 parent
b3881f8562
commit
87c27b6256
1 file changed
+2
-1
@@ -390,7 +390,8 @@ public final class MainActivity extends StageActivity
|
||||
|
||||
private void checkDownloadLocation() {
|
||||
UniFile uniFile = Settings.getDownloadLocation();
|
||||
if (null != uniFile && uniFile.ensureDir()) {
|
||||
// null == uniFile for first start
|
||||
if (null == uniFile || uniFile.ensureDir()) {
|
||||
return;
|
||||
}
|
||||
new AlertDialog.Builder(this)
|
||||
|
||||
Reference in new issue
Block a user