Use new icons for SettingsDialogFragment

This commit is contained in:
Alex Sytnyk 2018-08-10 13:49:24 +03:00
parent d8946a63da
commit a0c27af3d0

View file

@ -115,7 +115,7 @@ class SettingsDialogFragment : DialogFragment() {
} }
mainView.findViewById<ImageView>(R.id.help_icon) mainView.findViewById<ImageView>(R.id.help_icon)
.setImageDrawable(uiUtils.getActiveIcon(R.drawable.ic_action_share_location)) .setImageDrawable(uiUtils.getActiveIcon(R.drawable.ic_action_help))
mainView.findViewById<View>(R.id.help_row).setOnClickListener { mainView.findViewById<View>(R.id.help_row).setOnClickListener {
// FIXME // FIXME
Toast.makeText(context, "Logout help", Toast.LENGTH_SHORT).show() Toast.makeText(context, "Logout help", Toast.LENGTH_SHORT).show()
@ -175,9 +175,8 @@ class SettingsDialogFragment : DialogFragment() {
} }
} }
// FIXME
private inner class StaleLocPref : DurationPref( private inner class StaleLocPref : DurationPref(
R.drawable.ic_action_share_location, R.drawable.ic_action_location_history,
R.string.stale_location, R.string.stale_location,
R.string.stale_location_desc, R.string.stale_location_desc,
STALE_LOC_VALUES_SEC STALE_LOC_VALUES_SEC