Remove hardcoded string

This commit is contained in:
ktprograms 2021-08-14 15:38:57 +08:00
parent d8888e3495
commit 241054fd26
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public enum StreamDialogEntry {
item.getUploaderName()); item.getUploaderName());
}, throwable -> Toast.makeText( }, throwable -> Toast.makeText(
fragment.getContext(), fragment.getContext(),
"Error at Show Channel Details", R.string.error_show_channel_details,
Toast.LENGTH_SHORT Toast.LENGTH_SHORT
).show()); ).show());
} else { } else {

View File

@ -755,4 +755,5 @@
<string name="tablet_mode_title">Tablet mode</string> <string name="tablet_mode_title">Tablet mode</string>
<string name="on">On</string> <string name="on">On</string>
<string name="off">Off</string> <string name="off">Off</string>
<string name="error_show_channel_details">Error at Show Channel Details</string>
</resources> </resources>