mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
Use .json extension for encrypted json export (#1202)
This commit is contained in:
parent
3fc69f16d5
commit
edb8dc58f7
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ namespace Bit.App.Pages
|
|||
{
|
||||
var data = await _exportService.GetExport(FileFormatOptions[FileFormatSelectedIndex].Key);
|
||||
var fileFormat = FileFormatOptions[FileFormatSelectedIndex].Key;
|
||||
fileFormat = fileFormat == "encrypted_json" ? "json" : fileFormat;
|
||||
|
||||
_defaultFilename = _exportService.GetFileName(null, fileFormat);
|
||||
_exportResult = Encoding.ASCII.GetBytes(data);
|
||||
|
||||
|
|
Loading…
Reference in a new issue