mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-12 02:02:16 +10:00
download and open files from the cloud
This commit is contained in:
+1
-1
@@ -158,5 +158,5 @@ public interface ServiceAPI {
|
||||
/**
|
||||
* @return a {@link List} of available sortings.
|
||||
*/
|
||||
List<String> getAvailableSortings();
|
||||
List<String> getSortings();
|
||||
}
|
||||
|
||||
+8
@@ -247,6 +247,14 @@ public class CloudPresenter {
|
||||
throw new CloudException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public String[] getSortings() throws CloudException {
|
||||
try {
|
||||
return service.getSortings().toArray(new String[0]);
|
||||
} catch (Exception e) {
|
||||
throw new CloudException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private String getMachineId() {
|
||||
if (machineId == null) {
|
||||
|
||||
Reference in New Issue
Block a user