Remove 'default' as initial bucket name for Sia #54
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@@ -100,7 +100,7 @@ Map<String, dynamic> createDefaultSettings(String mountType) {
|
||||
'ApiPort': 9980,
|
||||
'HostNameOrIp': 'localhost',
|
||||
},
|
||||
'SiaConfig': {'Bucket': 'default'},
|
||||
'SiaConfig': {'Bucket': ''},
|
||||
};
|
||||
}
|
||||
|
||||
|
@@ -212,7 +212,7 @@ class _AddMountScreenState extends State<AddMountScreen> {
|
||||
if (_mountType == 'Remote') {
|
||||
_mountNameController.text = 'remote';
|
||||
} else if (changed) {
|
||||
_mountNameController.text = mountType == 'Sia' ? 'default' : '';
|
||||
_mountNameController.text = '';
|
||||
}
|
||||
|
||||
_mount = (_mountNameController.text.isEmpty)
|
||||
|
Reference in New Issue
Block a user