Skip to content

Commit f18b89f

Browse files
committed
fixed broken creation of new subjects
1 parent 9d31a01 commit f18b89f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Android app/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.schlmgr"
88
minSdkVersion 19
99
targetSdkVersion 32
10-
versionCode 60
11-
versionName '1.8.1'
10+
versionCode 61
11+
versionName '1.8.2'
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
signingConfig signingConfigs.debug
1414
}

Android app/app/src/main/java/com/schlmgr/gui/UriPath.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ protected boolean deleteFile(DocumentFile src) {
129129

130130
@Override
131131
public boolean exists() {
132-
return file.exists();
132+
return file.exists() && (file.isDirectory() || file.length() > 0);
133133
}
134134

135135
@Override

SchoolManager.apk

-109 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)