mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-05-26 06:20:20 -04:00
修改
This commit is contained in:
parent
0f6097b3e7
commit
8346db8be6
@ -55,13 +55,22 @@ public class HomeActivity extends BaseActivity {
|
|||||||
initData();
|
initData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onDestroy() {
|
||||||
|
super.onDestroy();
|
||||||
|
if(alert != null && alert.isShowing()){
|
||||||
|
alert.dismiss();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
AlertDialog alert;
|
||||||
/**
|
/**
|
||||||
* 登录框
|
* 登录框
|
||||||
*/
|
*/
|
||||||
private void showLoginDialog() {
|
private void showLoginDialog() {
|
||||||
//Log.d(TAG, "showLoginDialog: 跳出登录框");
|
//Log.d(TAG, "showLoginDialog: 跳出登录框");
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||||
AlertDialog alert = builder.setTitle("登录")
|
alert = builder.setTitle("登录")
|
||||||
.setMessage("请输入登录信息")
|
.setMessage("请输入登录信息")
|
||||||
.setView(R.layout.dialog_login)
|
.setView(R.layout.dialog_login)
|
||||||
.show();
|
.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user