LogViewerActivity: remove unnecessary ?.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -183,7 +183,7 @@ class LogViewerActivity : AppCompatActivity() {
|
|||||||
return
|
return
|
||||||
Snackbar.make(
|
Snackbar.make(
|
||||||
findViewById(android.R.id.content),
|
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]),
|
else getString(R.string.log_export_error, ErrorMessages[exception]),
|
||||||
if (exception == null) Snackbar.LENGTH_SHORT else Snackbar.LENGTH_LONG
|
if (exception == null) Snackbar.LENGTH_SHORT else Snackbar.LENGTH_LONG
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user