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

Commit 82f5d2ce authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

feat:3271: Use specific exception on format number to string.

parent 96a7bbda
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class BigNumberFormatter(context: Context) {

        return try {
            formatter.format(number.toLong())
        } catch (e: Exception) {
        } catch (_: NumberFormatException) {
            number
        }
    }