Skip to content

Commit

Permalink
refactor: bump release to 3.0.0
Browse files Browse the repository at this point in the history
Bump release to 3.0.0 for F-Droid tag referencing for auto update
  • Loading branch information
zaneschepke committed Sep 16, 2023
1 parent 7cb798a commit 1714618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId = "com.zaneschepke.wireguardautotunnel"
minSdk = 26
targetSdk = 34
versionCode = 25000
versionName = "2.5.0"
versionCode = 30000
versionName = "3.0.0"

multiDexEnabled = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@ class MainViewModel @Inject constructor(private val application : Application,

fun onTunnelQrResult(result : String) {
viewModelScope.launch(Dispatchers.IO) {
if(result.contains(application.resources.getString(R.string.config_validation))) {
val tunnelConfig =
TunnelConfig(name = NumberUtils.generateRandomTunnelName(), wgQuick = result)
if(result.contains(application.resources.getString(R.string.config_validation))) {
val tunnelConfig = TunnelConfig(name = NumberUtils.generateRandomTunnelName(), wgQuick = result)
saveTunnel(tunnelConfig)
} else {
showSnackBarMessage(application.resources.getString(R.string.barcode_error))
Expand Down

0 comments on commit 1714618

Please sign in to comment.