Skip to content

Commit 27e3165

Browse files
author
Dennis Mantz
committed
Fix emptyList crash in onScale(). Bump version to 2.0.1
1 parent c8c823c commit 27e3165

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ android {
1414
applicationId = "com.mantz_it.rfanalyzer"
1515
minSdk = 28
1616
targetSdk = 36
17-
versionCode = 20012 // 2.00.12
18-
versionName = "2.00"
17+
versionCode = 20013
18+
versionName = "2.0.1"
1919

2020
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2121
}

app/src/main/java/com/mantz_it/rfanalyzer/ui/composable/SourceTab.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import com.mantz_it.rfanalyzer.R
5858
enum class SourceType(val displayName: String, val availableSampleRates: List<Long>) {
5959
HACKRF("HACKRF", listOf(4000000, 6000000, 8000000, 10000000, 12500000, 16000000, 20000000)),
6060
RTLSDR("RTLSDR", listOf(1000000, 2000000)),
61-
FILESOURCE("File Source", emptyList());
61+
FILESOURCE("File Source", listOf(0));
6262
}
6363

6464
enum class FilesourceFileFormat(val displayName: String, val description: String, val bytesPerSample: Int) {

0 commit comments

Comments
 (0)