From 0951f0f824fb55e4a2d4e28487ef1a9ddeb3dfae Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Wed, 11 Oct 2017 15:24:57 +0200 Subject: [PATCH] small fixes small fixes --- .../schabi/newpipe/fragments/list/kiosk/KioskFragment.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java index 8e1acb572..c308fe1ec 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/kiosk/KioskFragment.java @@ -48,7 +48,7 @@ import static org.schabi.newpipe.util.AnimationUtils.animateView; * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with OpenHitboxStreams. If not, see . + * along with NewPipe. If not, see . */ public class KioskFragment extends BaseListInfoFragment { @@ -147,7 +147,10 @@ public class KioskFragment extends BaseListInfoFragment { super.handleResult(result); animateView(headerRootLayout, true, 100); - headerTitleView.setText("★★ " + KioskTranslator.getTranslatedKioskName(result.id, getActivity())+ " ★★"); + String title = KioskTranslator.getTranslatedKioskName(result.id, getActivity()); + headerTitleView.setText("★★ " + title + " ★★"); + ActionBar supportActionBar = activity.getSupportActionBar(); + supportActionBar.setTitle(title); if (!result.errors.isEmpty()) { showSnackBarError(result.errors,