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"
|
applicationId = "com.zaneschepke.wireguardautotunnel"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 25000
|
versionCode = 30000
|
||||||
versionName = "2.5.0"
|
versionName = "3.0.0"
|
||||||
|
|
||||||
multiDexEnabled = true
|
multiDexEnabled = true
|
||||||
|
|
||||||
|
|
|
@ -96,9 +96,8 @@ class MainViewModel @Inject constructor(private val application : Application,
|
||||||
|
|
||||||
fun onTunnelQrResult(result : String) {
|
fun onTunnelQrResult(result : String) {
|
||||||
viewModelScope.launch(Dispatchers.IO) {
|
viewModelScope.launch(Dispatchers.IO) {
|
||||||
if(result.contains(application.resources.getString(R.string.config_validation))) {
|
if(result.contains(application.resources.getString(R.string.config_validation))) {
|
||||||
val tunnelConfig =
|
val tunnelConfig = TunnelConfig(name = NumberUtils.generateRandomTunnelName(), wgQuick = result)
|
||||||
TunnelConfig(name = NumberUtils.generateRandomTunnelName(), wgQuick = result)
|
|
||||||
saveTunnel(tunnelConfig)
|
saveTunnel(tunnelConfig)
|
||||||
} else {
|
} else {
|
||||||
showSnackBarMessage(application.resources.getString(R.string.barcode_error))
|
showSnackBarMessage(application.resources.getString(R.string.barcode_error))
|
||||||
|
|
Loading…
Reference in New Issue