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

Commit 86846685 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Finish adjusting the code of PrintServiceSettingsFrament to the changes made

in the layout.

Bug: 25645752
Change-Id: I54401075d4c604850287c7dd101cf4f4b4f21459
parent 52a302e8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -168,7 +168,6 @@ public class PrintServiceSettingsFragment extends SettingsPreferenceFragment
        super.onViewCreated(view, savedInstanceState);
        initComponents();
        updateUiForArguments();
        getView().findViewById(R.id.list_container).setVisibility(View.GONE);
        getBackupListView().setVisibility(View.VISIBLE);
    }

@@ -199,7 +198,7 @@ public class PrintServiceSettingsFragment extends SettingsPreferenceFragment

    private void updateEmptyView() {
        ViewGroup contentRoot = (ViewGroup) getListView().getParent();
        View emptyView = getEmptyView();
        View emptyView = getBackupListView().getEmptyView();
        if (!mToggleSwitch.isChecked()) {
            if (emptyView != null && emptyView.getId() != R.id.empty_print_state) {
                contentRoot.removeView(emptyView);