Skip to content

Commit

Permalink
Fix #969: Language changes on Home Activity (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saksham Handu authored Dec 21, 2018
1 parent a3ae2c1 commit 8813856
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.mifos.mobilebanking.ui.activities;

import android.content.Intent;
import android.os.Bundle;

import org.mifos.mobilebanking.R;
Expand All @@ -16,4 +17,11 @@ protected void onCreate(Bundle savedInstanceState) {
showBackButton();
replaceFragment(SettingsFragment.newInstance(), false, R.id.container);
}

@Override
public void onBackPressed() {
super.onBackPressed();
Intent i = new Intent(this, HomeActivity.class);
startActivity(i);
}
}

0 comments on commit 8813856

Please sign in to comment.