Commit c83e48dd authored by Govind Dixit's avatar Govind Dixit

requested changes

parent 6cc5cd6c
......@@ -277,13 +277,7 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector,
fun setCheckedNavDrawerItem(@IdRes item: Int) = view_navigation.setCheckedItem(item)
override fun showProgress() {
progressDialog = ProgressDialog.show(
this,
getString(R.string.app_name),
getString(R.string.msg_log_out),
true,
false
)
progressDialog = ProgressDialog.show(this, getString(R.string.app_name), getString(R.string.msg_log_out), true, false)
}
override fun hideProgress() {
......@@ -333,8 +327,7 @@ class MainActivity : AppCompatActivity(), MainView, HasActivityInjector,
}
dialog.dismiss()
}
val mdialog = builder.create()
mdialog.show()
builder.create().show()
}
private fun setLocale(lang: String) {
......
......@@ -101,7 +101,6 @@ class SettingsFragment : Fragment(), SettingsView, AdapterView.OnItemClickListen
}
}
private fun showAppOnStore() {
try {
startActivity(Intent(Intent.ACTION_VIEW, getString(R.string.market_link).toUri()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment