fixed reset activity page crash issues.
authorkfl_614 <kfl_614@163.com>
Thu, 3 Dec 2020 09:51:50 +0000 (17:51 +0800)
committerkfl_614 <kfl_614@163.com>
Thu, 3 Dec 2020 09:51:50 +0000 (17:51 +0800)
app/src/main/java/mobile/miki/FactoryReset_activity.java

index d024c82..c20e060 100644 (file)
@@ -24,8 +24,8 @@ public class FactoryReset_activity extends BaseActivity {
         super.onCreate(savedInstanceState);\r
         setContentView(R.layout.activity_shutdown_activity);\r
         tv = (TextView) findViewById(R.id.shutdownText);\r
-        btn_yes = (Button) findViewById(R.id.btn_yes);\r
-        btn_no = (Button) findViewById(R.id.btn_no);\r
+        btn_yes = (ImageButton) findViewById(R.id.btn_yes);\r
+        btn_no = (ImageButton) findViewById(R.id.btn_no);\r
         btn_yes.setClickable(true);\r
         btn_no.setClickable(true);\r
         btn_no.setEnabled(true);\r