[Receivenotification] Support long text
ClosedPublic

Authored by nicolasfella on Dec 24 2018, 9:46 PM.

Details

Summary

Use bigtext style.

BUG: 402489

Test Plan

Send notification with long text. Before a single line was shown. Now the user can view the full content by pulling down the notification

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Dec 24 2018, 9:46 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptDec 24 2018, 9:46 PM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript
nicolasfella requested review of this revision.Dec 24 2018, 9:46 PM
nicolasfella edited the summary of this revision. (Show Details)Dec 24 2018, 9:46 PM
albertvaka accepted this revision.Dec 24 2018, 9:53 PM
This revision is now accepted and ready to land.Dec 24 2018, 9:53 PM

Maybe set empty string as a default? Null ticker might break the bigtext?

Maybe set empty string as a default? Null ticker might break the bigtext?

We check np.has("ticker") before, so it can't be null, can it?

Even with null it doesn't break

This revision was automatically updated to reflect the committed changes.