mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 09:12:56 +02:00
Optimize android's Gradle settings and clean up mobile source code (#240)
* optimize android side gradle settings * android minsdk back to 21 * remove unused package, update linter and fix lint error
This commit is contained in:
parent
63bebd92e0
commit
caaa474c23
34 changed files with 524 additions and 333 deletions
mobile/lib/shared/models
|
@ -1,5 +1,4 @@
|
|||
import 'dart:convert';
|
||||
import 'dart:ffi';
|
||||
|
||||
class DeviceInfoRemote {
|
||||
final int id;
|
||||
|
@ -66,7 +65,8 @@ class DeviceInfoRemote {
|
|||
|
||||
String toJson() => json.encode(toMap());
|
||||
|
||||
factory DeviceInfoRemote.fromJson(String source) => DeviceInfoRemote.fromMap(json.decode(source));
|
||||
factory DeviceInfoRemote.fromJson(String source) =>
|
||||
DeviceInfoRemote.fromMap(json.decode(source));
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue