Skip to content

Commit

Permalink
Fixed ProxyDialog not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
tom5079 committed Sep 27, 2020
1 parent 86ee239 commit 1bd025e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
minSdkVersion 16
targetSdkVersion 30
versionCode 61
versionName "5.1.1"
versionName "5.1.1-hotfix1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
2 changes: 1 addition & 1 deletion app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"filters": [],
"properties": [],
"versionCode": 61,
"versionName": "5.1.1",
"versionName": "5.1.1-hotfix1",
"enabled": true,
"outputFile": "app-release.apk"
}
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/java/xyz/quaver/pupil/ui/dialog/ProxyDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ import java.net.Proxy
class ProxyDialog(context: Context) : AlertDialog(context) {

override fun onCreate(savedInstanceState: Bundle?) {
setContentView(build())
window?.attributes?.width = ViewGroup.LayoutParams.MATCH_PARENT
setView(build())

super.onCreate(savedInstanceState)
}
Expand Down

0 comments on commit 1bd025e

Please sign in to comment.