parent
44df74fc17
commit
a4c4d116de
|
@ -313,7 +313,7 @@ public class EpisodesApplyActionFragment extends Fragment {
|
|||
}
|
||||
}
|
||||
if (resId != 0) {
|
||||
Snackbar.make(getActivity().findViewById(R.id.content), resId, Snackbar.LENGTH_SHORT)
|
||||
Snackbar.make(getActivity().findViewById(android.R.id.content), resId, Snackbar.LENGTH_SHORT)
|
||||
.show();
|
||||
return true;
|
||||
} else {
|
||||
|
@ -469,7 +469,7 @@ public class EpisodesApplyActionFragment extends Fragment {
|
|||
|
||||
private void close(@PluralsRes int msgId, int numItems) {
|
||||
if (numItems > 0) {
|
||||
Snackbar.make(getActivity().findViewById(R.id.content),
|
||||
Snackbar.make(getActivity().findViewById(android.R.id.content),
|
||||
getResources().getQuantityString(msgId, numItems, numItems),
|
||||
Snackbar.LENGTH_LONG
|
||||
)
|
||||
|
|
|
@ -416,11 +416,11 @@ public class QueueFragment extends Fragment {
|
|||
recyclerAdapter.setLocked(locked);
|
||||
}
|
||||
if (locked) {
|
||||
Snackbar.make(getActivity().findViewById(R.id.content), R.string
|
||||
.queue_locked, Snackbar.LENGTH_SHORT).show();
|
||||
Snackbar.make(getActivity().findViewById(android.R.id.content),
|
||||
R.string.queue_locked, Snackbar.LENGTH_SHORT).show();
|
||||
} else {
|
||||
Snackbar.make(getActivity().findViewById(R.id.content), R.string
|
||||
.queue_unlocked, Snackbar.LENGTH_SHORT).show();
|
||||
Snackbar.make(getActivity().findViewById(android.R.id.content),
|
||||
R.string.queue_unlocked, Snackbar.LENGTH_SHORT).show();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue