1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 00:50:32 +00:00

small fixes

small fixes
This commit is contained in:
Christian Schabesberger 2017-10-11 15:24:57 +02:00
parent f7534b3a0f
commit 0951f0f824

View File

@ -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 <http://www.gnu.org/licenses/>.
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
*/
public class KioskFragment extends BaseListInfoFragment<KioskInfo> {
@ -147,7 +147,10 @@ public class KioskFragment extends BaseListInfoFragment<KioskInfo> {
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,