Fix crash due to not found theme
This commit is contained in:
parent
341d7222e5
commit
aaba503cd0
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
startActivity(i);
|
startActivity(i);
|
||||||
break;
|
break;
|
||||||
case R.id.nav_resetdb:
|
case R.id.nav_resetdb:
|
||||||
new AlertDialog.Builder(getApplicationContext())
|
new AlertDialog.Builder(this)
|
||||||
.setTitle(R.string.nav_resetdb)
|
.setTitle(R.string.nav_resetdb)
|
||||||
.setMessage(R.string.reset_db_confirm)
|
.setMessage(R.string.reset_db_confirm)
|
||||||
.setNegativeButton(android.R.string.cancel, null)
|
.setNegativeButton(android.R.string.cancel, null)
|
||||||
|
|
Loading…
Reference in a new issue