Back button working on settings activity
This commit is contained in:
1 parent
70ed2f5263
commit
951578cc0a
1 file changed
+1
-1
@@ -162,7 +162,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
int id = item.getItemId();
|
||||
if (id == android.R.id.home) {
|
||||
startActivity(new Intent(getActivity(), SettingsActivity.class));
|
||||
startActivity(new Intent(getActivity(), DSKYActivity.class));
|
||||
return true;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
|
||||
Reference in new issue
Block a user