mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
add snackbar method for errors
test (ping) server before saving source display error message when saving source
This commit is contained in:
@@ -98,6 +98,8 @@ class SubsonicClient {
|
||||
return subsonicResponse;
|
||||
}
|
||||
|
||||
Future<void> test() => get('ping');
|
||||
|
||||
Future<bool> testFeature(SubsonicFeature feature) async {
|
||||
switch (feature) {
|
||||
case SubsonicFeature.emptyQuerySearch:
|
||||
|
||||
Reference in New Issue
Block a user