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

Commit ca530441 authored by Mady Mellor's avatar Mady Mellor
Browse files

Update settings slice provider to use new API

Test: build with new API
Change-Id: I2513b23166848d7729547dc56987766aab48b016
parent 444989ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public class SettingsSliceProvider extends SliceProvider {
        boolean finalWifiEnabled = wifiEnabled;
        return new ListBuilder(sliceUri)
                .setColor(R.color.material_blue_500)
                .add(b -> b
                .addRow(b -> b
                        .setTitle(getContext().getString(R.string.wifi_settings))
                        .setTitleItem(Icon.createWithResource(getContext(), R.drawable.wifi_signal))
                        .setSubtitle(state)