feat: Instant in copy #1889

This commit is contained in:
J-Jamet
2024-11-02 13:37:33 +01:00
parent 0bfce44317
commit 4ba77b76ec
4 changed files with 6 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ KeePassDX(4.1.0)
* Generate keyfile #1290
* Hide template group #1894
* Group count sum recursively #421
* Small fixes #1711 #1831 #1780 #1821 #1863
* Small fixes #1711 #1831 #1780 #1821 #1863 #1889
KeePassDX(4.0.8)
* Fix graphical bug that prevented databases from being opened on some versions of Android #1848 #1850

View File

@@ -114,6 +114,7 @@ import com.kunzisoft.keepass.view.showActionErrorIfNeeded
import com.kunzisoft.keepass.view.updateLockPaddingLeft
import com.kunzisoft.keepass.viewmodels.GroupEditViewModel
import com.kunzisoft.keepass.viewmodels.GroupViewModel
import org.joda.time.Instant
class GroupActivity : DatabaseLockActivity(),
@@ -339,7 +340,8 @@ class GroupActivity : DatabaseLockActivity(),
R.id.menu_save_copy_to -> {
mExternalFileHelper?.createDocument(
getString(R.string.database_file_name_default) +
getString(R.string.database_file_name_copy) +
"_" +
Instant.now().toString() +
mDatabase?.defaultFileExtension)
}
R.id.menu_lock_all -> {

View File

@@ -50,7 +50,6 @@
<!-- File Path -->
<string name="database_file_name_default" translatable="false">keepass</string>
<string name="database_file_name_copy" translatable="false">_copy</string>
<string name="database_file_extension_default" translatable="false">.kdbx</string>
<string name="database_default_name" translatable="false">KeePassDX Database</string>
<string name="app_properties_file_name" translatable="false">keepassdx_%1$s.properties</string>

View File

@@ -2,4 +2,4 @@
* Generate keyfile #1290
* Hide template group #1894
* Group count sum recursively #421
* Small fixes #1711 #1831 #1780 #1821 #1863
* Small fixes #1711 #1831 #1780 #1821 #1863 #1889