Skip to content

Commit

Permalink
v1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pansong291 committed Oct 7, 2019
1 parent 5e39cc7 commit 48ab224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "pansong291.xposed.quickenergy"
minSdkVersion 14
targetSdkVersion 21
versionCode 20190930
versionName "1.2.4"
versionCode 20191007
versionName "1.2.5"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ public static void showEditDialog(Context c, CharSequence title, EditMode em)
mode = em;
try
{
getEditDialog(c, title).show();
getEditDialog(c).show();
}catch(Throwable t)
{
editDialog = null;
getEditDialog(c, title).show();
getEditDialog(c).show();
}
editDialog.setTitle(title);
}

private static AlertDialog getEditDialog(Context c, CharSequence title)
private static AlertDialog getEditDialog(Context c)
{
if(editDialog == null)
{
edt = new EditText(c);
editDialog = new AlertDialog.Builder(c)
.setTitle(title)
.setTitle("title")
.setView(edt)
.setPositiveButton(
"确定",
Expand Down

0 comments on commit 48ab224

Please sign in to comment.