Bug fix: Exit button on the save dialog doesn't work as expected

This commit is contained in:
Duy Tran Khanh 2021-07-22 15:58:48 +07:00 committed by SerpentSpirale
parent b4eeb2e74d
commit 51e7c2fce8

View File

@ -153,6 +153,7 @@ public class CustomControlsActivity extends BaseActivity
if(ctx instanceof MainActivity) {
((MainActivity) ctx).leaveCustomControls();
}else{
((CustomControlsActivity) ctx).isModified = false;
((Activity)ctx).onBackPressed();
}
// setResult(Activity.RESULT_OK, new Intent());