Rename app to Notifications Master
This commit is contained in:
@@ -108,7 +108,7 @@ class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelecte
|
||||
|
||||
private fun requestUnlock() {
|
||||
BiometricPrompt.Builder(this)
|
||||
.setTitle("Unlock Notification Log")
|
||||
.setTitle("Unlock Notifications Master")
|
||||
.setAllowedAuthenticators(Authenticators.BIOMETRIC_STRONG or Authenticators.DEVICE_CREDENTIAL)
|
||||
.build()
|
||||
.authenticate(CancellationSignal(), mainExecutor, object : BiometricPrompt.AuthenticationCallback() {
|
||||
|
||||
@@ -107,7 +107,7 @@ class SettingsFragment : Fragment(R.layout.fragment_settings) {
|
||||
MaterialAlertDialogBuilder(requireContext())
|
||||
.setItems(arrayOf("CSV (no images)", "Formatted text (no images)", "HTML ZIP")) { _, which ->
|
||||
pendingExport = ExportFormat.entries[which]
|
||||
createDocument.launch("notification-log.${pendingExport!!.extension}")
|
||||
createDocument.launch("notifications-master.${pendingExport!!.extension}")
|
||||
}
|
||||
.show()
|
||||
}
|
||||
@@ -185,7 +185,7 @@ class SettingsFragment : Fragment(R.layout.fragment_settings) {
|
||||
context: android.content.Context,
|
||||
) = zip.use { zipOutput ->
|
||||
val imageStore = EncryptedImageStore(context)
|
||||
zipOutput.putNextEntry(java.util.zip.ZipEntry("notification-log.html"))
|
||||
zipOutput.putNextEntry(java.util.zip.ZipEntry("notifications-master.html"))
|
||||
zipOutput.write(LogExporter.htmlStart(settings).encodeToByteArray())
|
||||
logStore.forEachNewest { entry ->
|
||||
val imagePath = entry.imageId
|
||||
|
||||
Reference in New Issue
Block a user