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

Commit 0bcd8143 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal Committed by Łukasz Patron
Browse files

LineageParts: Add proper offset for trigger pager

Change-Id: I118d7a445af18f0ee7e77a4b0f2a8c961624b341
parent 4d91e2f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2014 The CyanogenMod Project
 *               2017-2021 The LineageOS Project
 *               2017-2023 The LineageOS Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@@ -91,7 +91,7 @@ public class SetupTriggersFragment extends SettingsPreferenceFragment {
        activity.getCollapsingToolbarLayout().measure(
                View.MeasureSpec.EXACTLY, View.MeasureSpec.EXACTLY);
        activity.getCollapsingToolbarLayout().post(() ->
                mPager.setHeightOffset(activity.getCollapsingToolbarLayout().getMeasuredHeight()));
                mPager.setHeightOffset(mTabLayout.getHeight()));
    }

    @Override