Menu -> Wallet -> Invoices -> Import -> While importing invoices files, only .json format file should be imported
Current Behavior
Menu -> Wallet -> Invoices -> Import -> While importing invoices files, currently the user can change the file type in the dialog box and select any format files.
Steps to Reproduce
1.Open a wallet
2.Click on wallet ->Invoices ->Import
3.In select file dialog box make sure that file format given is automatically fixed to .json and it should be unchangeable (Reference as in Bitcoin)
In Bitcoin :
In Electrum FTC :
In Bitcoin :
Context
If the file type is fixed the the user is clear only json files can be imported
Expected Behavior
Menu -> Wallet -> Invoices -> Import -> While importing invoices files, only .json format file should be imported
Current Behavior
Menu -> Wallet -> Invoices -> Import -> While importing invoices files, currently the user can change the file type in the dialog box and select any format files.
Steps to Reproduce
1.Open a wallet 2.Click on wallet ->Invoices ->Import 3.In select file dialog box make sure that file format given is automatically fixed to .json and it should be unchangeable (Reference as in Bitcoin)
In Bitcoin :
In Electrum FTC :
In Bitcoin :
Context
If the file type is fixed the the user is clear only json files can be imported
Your Environment