Skip to content

Commit

Permalink
Resource manager for dialog resources
Browse files Browse the repository at this point in the history
Signed-off-by: Arka Prava Basu <arkaprava94@gmail.com>
  • Loading branch information
archie94 committed Oct 28, 2018
1 parent 38f975a commit 2d8f256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/havenapp/main/ListActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public class ListActivity extends AppCompatActivity {
public void onReceive(Context context, Intent intent) {
if (intent.getIntExtra(DB_INIT_STATUS, 0) == DB_INIT_START) {
progressDialog = new ProgressDialog(ListActivity.this);
progressDialog.setTitle(getString(R.string.please_wait));
progressDialog.setMessage(getString(R.string.migrating_data));
progressDialog.setTitle(resourceManager.getString(R.string.please_wait));
progressDialog.setMessage(resourceManager.getString(R.string.migrating_data));
progressDialog.setCancelable(false);
progressDialog.setCanceledOnTouchOutside(false);
progressDialog.show();
Expand Down

0 comments on commit 2d8f256

Please sign in to comment.