Skip to content

Commit

Permalink
bump new ver
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Apr 12, 2020
1 parent 1fe18d4 commit fca9681
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "me.iacn.biliroaming"
minSdkVersion 21
targetSdkVersion 27 // Target Android O
versionCode 20
versionName "1.2.0"
versionCode 21
versionName "1.2.1"
}

buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/me/iacn/biliroaming/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ class MainActivity : Activity() {
return true
}
counter++
val text = "再按${7 - counter}次开启净化功能"
val text = "再按${7 - counter}次开启隐藏功能"
if (counter == 7) {
preferenceScreen.removeAll()
addPreferencesFromResource(R.xml.prefs_setting)
prefs?.edit()?.putBoolean("hidden", true)?.commit()
toast?.setText("已开启净化功能")
toast?.setText("已开启隐藏功能")
toast?.duration = LENGTH_SHORT;
toast?.show();
preferenceScreen.removeAll()
Expand Down

0 comments on commit fca9681

Please sign in to comment.