Remove 'default' as initial bucket name for Sia #54
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2025-07-28 07:25:25 -05:00
parent 4cf339cfc4
commit c8b6d5053e
6 changed files with 29 additions and 44 deletions

View File

@@ -100,7 +100,7 @@ Map<String, dynamic> createDefaultSettings(String mountType) {
'ApiPort': 9980,
'HostNameOrIp': 'localhost',
},
'SiaConfig': {'Bucket': 'default'},
'SiaConfig': {'Bucket': ''},
};
}

View File

@@ -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)