LogViewerActivity: remove unnecessary ?.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2025-12-31 12:23:59 +01:00
parent 5e88cd24c5
commit 1c0b211bd6
@@ -183,7 +183,7 @@ class LogViewerActivity : AppCompatActivity() {
return
Snackbar.make(
findViewById(android.R.id.content),
if (exception == null) getString(R.string.log_export_success, outputFile?.fileName)
if (exception == null) getString(R.string.log_export_success, outputFile.fileName)
else getString(R.string.log_export_error, ErrorMessages[exception]),
if (exception == null) Snackbar.LENGTH_SHORT else Snackbar.LENGTH_LONG
)