mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-27 18:45:18 +01:00
5a91c7e84a
Configure the TimeDurationPickerDialog to hide seconds. Seconds were already ignored below 1min. This avoids the user expecting it to work. Feature regression: after this change, seconds above 1min will also be impossible to input (ex: 1m30s). But it makes little sense anyway to allow it: they are even less useful for longer durations. Another possibility to reach a point where eveything is coherent would have been to just remove the Math.max(..., 60) that ignored seconds. The duration will be displayed as "xx:xx:00" to make it clear that xx:xx represents minutes. Fixes #10788.