Compare commits
1 Commits
4c5ac59355
...
a941fc4fce
| Author | SHA1 | Date | |
|---|---|---|---|
| a941fc4fce |
@@ -288,7 +288,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
fun askTemperatureValue(event: LunaEvent, showTime: Boolean, onPositive: () -> Unit) {
|
fun askTemperatureValue(event: LunaEvent, showTime: Boolean, onPositive: () -> Unit) {
|
||||||
// Show number picker dialog
|
// Show number picker dialog
|
||||||
val d = AlertDialog.Builder(this)
|
val d = AlertDialog.Builder(this)
|
||||||
val dialogView = layoutInflater.inflate(R.layout.dialog_edit_temperature, null)
|
val dialogView = layoutInflater.inflate(R.layout.temperature_dialog, null)
|
||||||
d.setTitle(R.string.log_temperature_dialog_title)
|
d.setTitle(R.string.log_temperature_dialog_title)
|
||||||
d.setMessage(R.string.log_temperature_dialog_description)
|
d.setMessage(R.string.log_temperature_dialog_description)
|
||||||
d.setView(dialogView)
|
d.setView(dialogView)
|
||||||
|
|||||||
Reference in New Issue
Block a user