jgilfelt / chuck

An in-app HTTP inspector for Android OkHttp clients
Apache License 2.0
4.68k stars 452 forks source link

Add a simple transaction counter to the notification #7

Closed SimonMarquis closed 7 years ago

SimonMarquis commented 7 years ago

Using setSubText on N since setNumber and setContentInfo are ignored most of the time.

jgilfelt commented 7 years ago

Thanks! This also highlighted a stupid bug of mine - I never meant for that transaction buffer to grow beyond the number of lines that could appear in the notification.

SimonMarquis commented 7 years ago

Then I suppose this if statement can be removed.