mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
Fix getting hours label in HoursMinutesPickerFragment
Signed-off-by: lluka <luka.lednicki@mailbox.org>
This commit is contained in:
@@ -9,6 +9,7 @@ import android.text.format.DateFormat;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
import android.widget.TimePicker;
|
||||
import androidx.annotation.IntRange;
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -133,7 +134,7 @@ public class HoursMinutesPickerFragment extends BaseMwmDialogFragment
|
||||
if (id != 0)
|
||||
{
|
||||
mPickerHoursLabel = mPicker.findViewById(id);
|
||||
if (!(mPickerHoursLabel instanceof MaterialTextView))
|
||||
if (!(mPickerHoursLabel instanceof TextView))
|
||||
mPickerHoursLabel = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user