refactor: bump release to 3.0.0
Bump release to 3.0.0 for F-Droid tag referencing for auto update
This commit is contained in:
parent
7cb798a111
commit
1714618f0c
|
@ -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
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue