diff options
author | ByteHamster <info@bytehamster.com> | 2022-08-04 23:09:38 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-09-18 18:57:43 +0200 |
commit | ac8114342c4beb90745cfc5bd9235ca219a36b29 (patch) | |
tree | 51997df3f5131e8ab5be1dbebe4f953990cca865 /ui/common/src/main/java/de | |
parent | a12854a96b6233540dc54bb417eaa48e1759b131 (diff) | |
download | AntennaPod-ac8114342c4beb90745cfc5bd9235ca219a36b29.zip |
Migrate Toolbars to Material3
Diffstat (limited to 'ui/common/src/main/java/de')
-rw-r--r-- | ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java b/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java index cbdd789db..3d82cb32c 100644 --- a/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java +++ b/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java @@ -1,7 +1,7 @@ package de.danoeh.antennapod.ui.common; import androidx.annotation.NonNull; -import androidx.appcompat.widget.Toolbar; +import com.google.android.material.appbar.MaterialToolbar; import androidx.fragment.app.Fragment; import androidx.viewpager2.widget.ViewPager2; @@ -10,7 +10,7 @@ import androidx.viewpager2.widget.ViewPager2; * All items share the same general menu items and are just allowed to show/hide them. */ public abstract class PagedToolbarFragment extends Fragment { - private Toolbar toolbar; + private MaterialToolbar toolbar; private ViewPager2 viewPager; /** @@ -24,7 +24,7 @@ public abstract class PagedToolbarFragment extends Fragment { } } - protected void setupPagedToolbar(Toolbar toolbar, ViewPager2 viewPager) { + protected void setupPagedToolbar(MaterialToolbar toolbar, ViewPager2 viewPager) { this.toolbar = toolbar; this.viewPager = viewPager; |