made instance list url non translatable

This commit is contained in:
yausername 2019-12-31 20:10:51 +05:30
parent 57e89babf1
commit 2b4190d85d
No known key found for this signature in database
GPG key ID: F946F508AA241678
3 changed files with 9 additions and 2 deletions

View file

@ -89,6 +89,13 @@ public class PeertubeInstanceListFragment extends Fragment {
public void onViewCreated(@NonNull View rootView, @Nullable Bundle savedInstanceState) {
super.onViewCreated(rootView, savedInstanceState);
initViews(rootView);
}
private void initViews(@NonNull View rootView) {
TextView instanceHelpTV = rootView.findViewById(R.id.instanceHelpTV);
instanceHelpTV.setText(getString(R.string.peertube_instance_url_help, getString(R.string.peertube_instance_list_url)));
initButton(rootView);
RecyclerView listInstances = rootView.findViewById(R.id.instances);