Resolve some lint and build warnings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
7f37ff032f
commit
4d2bfe3ef3
@ -77,7 +77,7 @@ public class ConfigNamingDialogFragment extends DialogFragment {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Dialog onCreateDialog(final Bundle savedInstanceState) {
|
public Dialog onCreateDialog(final Bundle savedInstanceState) {
|
||||||
final Activity activity = Objects.requireNonNull(getActivity());
|
final Activity activity = requireActivity();
|
||||||
|
|
||||||
imm = (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE);
|
imm = (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@
|
|||||||
<string name="tools_installer_working">正在安装 wg 与 wg-quick...</string>
|
<string name="tools_installer_working">正在安装 wg 与 wg-quick...</string>
|
||||||
<string name="tools_unavailable_error">所需工具不可用</string>
|
<string name="tools_unavailable_error">所需工具不可用</string>
|
||||||
<string name="transfer">流量</string>
|
<string name="transfer">流量</string>
|
||||||
<string name="transfer_rx_tx">接收:%s,发送:%s</string>
|
<string name="transfer_rx_tx">接收:%1$s,发送:%2$s</string>
|
||||||
<string name="transfer_bytes">%d B</string>
|
<string name="transfer_bytes">%d B</string>
|
||||||
<string name="transfer_kibibytes">%.2f KiB</string>
|
<string name="transfer_kibibytes">%.2f KiB</string>
|
||||||
<string name="transfer_mibibytes">%.2f MiB</string>
|
<string name="transfer_mibibytes">%.2f MiB</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user