caffeine-quick-setting: Make prefs dialog follow content size

Otherwise in bottom sheet mode adding new rows doesn't make the dialog resize and the user doesn't see the new rows.

Before image
After image

To reproduce:

  • open prefs
  • remove all intervals
  • close prefs
  • open prefs again
  • add an interval
  • see that the dialog didn't resize without that MR

/cc @pseudorandom-x

Signed-off-by: Guido Günther agx@sigxcpu.org

Merge request reports

Loading