mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-24 00:50:32 +00:00
Revert some more changes
This commit is contained in:
parent
fed9197d23
commit
15a53d299d
@ -46,8 +46,7 @@ public class ChannelInfoItemHolder extends ChannelMiniInfoItemHolder {
|
|||||||
if (!(infoItem instanceof ChannelInfoItem)) {
|
if (!(infoItem instanceof ChannelInfoItem)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final ChannelInfoItem item;
|
final ChannelInfoItem item = (ChannelInfoItem) infoItem;
|
||||||
item = (ChannelInfoItem) infoItem;
|
|
||||||
|
|
||||||
itemChannelDescriptionView.setText(item.getDescription());
|
itemChannelDescriptionView.setText(item.getDescription());
|
||||||
}
|
}
|
||||||
|
@ -179,10 +179,6 @@ public abstract class BaseImportExportService extends Service {
|
|||||||
notificationManager.notify(getNotificationId(), notificationBuilder.build());
|
notificationManager.notify(getNotificationId(), notificationBuilder.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*//////////////////////////////////////////////////////////////////////////
|
|
||||||
// Toast
|
|
||||||
//////////////////////////////////////////////////////////////////////////*/
|
|
||||||
|
|
||||||
protected NotificationCompat.Builder createNotification() {
|
protected NotificationCompat.Builder createNotification() {
|
||||||
return new NotificationCompat.Builder(this, getString(R.string.notification_channel_id))
|
return new NotificationCompat.Builder(this, getString(R.string.notification_channel_id))
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
@ -192,6 +188,10 @@ public abstract class BaseImportExportService extends Service {
|
|||||||
.setContentTitle(getString(getTitle()));
|
.setContentTitle(getString(getTitle()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*//////////////////////////////////////////////////////////////////////////
|
||||||
|
// Toast
|
||||||
|
//////////////////////////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
protected void showToast(@StringRes final int message) {
|
protected void showToast(@StringRes final int message) {
|
||||||
showToast(getString(message));
|
showToast(getString(message));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user