Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
866ceae75c | ||
|
|
349cac092f |
@@ -18,8 +18,8 @@ android {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion Integer.parseInt("$targetSdkVer")
|
||||
multiDexEnabled true
|
||||
versionCode 478
|
||||
versionName "1.7.22"
|
||||
versionCode 480
|
||||
versionName "1.7.23"
|
||||
}
|
||||
|
||||
if (props["sign"]) {
|
||||
|
||||
@@ -61,7 +61,10 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
|
||||
fun removeServer(guid: String) {
|
||||
serverList.remove(guid)
|
||||
MmkvManager.removeServer(guid)
|
||||
serversCache.removeAt(getPosition(guid))
|
||||
val index = getPosition(guid)
|
||||
if(index >= 0){
|
||||
serversCache.removeAt(index)
|
||||
}
|
||||
}
|
||||
|
||||
fun appendCustomConfigServer(server: String) {
|
||||
|
||||
Reference in New Issue
Block a user