Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a2e3277 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix Settings crash when setting only decimal point to data usage warning"

parents abcd2568 c05a3a02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ public class BillingCycleSettings extends DataUsageBase implements
            Spinner spinner = (Spinner) mView.findViewById(R.id.size_spinner);

            String bytesString = bytesField.getText().toString();
            if (bytesString.isEmpty()) {
            if (bytesString.isEmpty() || bytesString.equals(".")) {
                bytesString = "0";
            }
            final long bytes = (long) (Float.valueOf(bytesString)