resolve merge conflicts
This commit is contained in:
commit
c1722959e7
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:adaptive_theme/adaptive_theme.dart';
|
import 'package:adaptive_theme/adaptive_theme.dart';
|
||||||
|
|
2
lib/core/cache/image_cache.dart
vendored
2
lib/core/cache/image_cache.dart
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io' as io;
|
import 'dart:io' as io;
|
||||||
|
|
||||||
import 'package:photos/core/cache/lru_map.dart';
|
import 'package:photos/core/cache/lru_map.dart';
|
||||||
|
|
2
lib/core/cache/lru_map.dart
vendored
2
lib/core/cache/lru_map.dart
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:collection';
|
import 'dart:collection';
|
||||||
|
|
||||||
typedef EvictionHandler<K, V> = Function(K key, V value);
|
typedef EvictionHandler<K, V> = Function(K key, V value);
|
||||||
|
|
2
lib/core/cache/thumbnail_cache.dart
vendored
2
lib/core/cache/thumbnail_cache.dart
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
||||||
import 'package:photos/core/cache/lru_map.dart';
|
import 'package:photos/core/cache/lru_map.dart';
|
||||||
|
|
2
lib/core/cache/thumbnail_cache_manager.dart
vendored
2
lib/core/cache/thumbnail_cache_manager.dart
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
||||||
|
|
||||||
class ThumbnailCacheManager {
|
class ThumbnailCacheManager {
|
||||||
|
|
2
lib/core/cache/video_cache_manager.dart
vendored
2
lib/core/cache/video_cache_manager.dart
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
|
||||||
|
|
||||||
class VideoCacheManager {
|
class VideoCacheManager {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io' as io;
|
import 'dart:io' as io;
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart = 2.7
|
||||||
|
|
||||||
const int kThumbnailSmallSize = 256;
|
const int kThumbnailSmallSize = 256;
|
||||||
const int kThumbnailQuality = 50;
|
const int kThumbnailQuality = 50;
|
||||||
const int kThumbnailLargeSize = 512;
|
const int kThumbnailLargeSize = 512;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
library super_logging;
|
library super_logging;
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:http/http.dart';
|
import 'package:http/http.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class InvalidFileError extends ArgumentError {
|
class InvalidFileError extends ArgumentError {
|
||||||
InvalidFileError(String message) : super(message);
|
InvalidFileError(String message) : super(message);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:event_bus/event_bus.dart';
|
import 'package:event_bus/event_bus.dart';
|
||||||
|
|
||||||
class Bus {
|
class Bus {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:alice/alice.dart';
|
import 'package:alice/alice.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/search/holiday_search_result.dart';
|
import 'package:photos/models/search/holiday_search_result.dart';
|
||||||
|
|
||||||
const List<HolidayData> allHolidays = [
|
const List<HolidayData> allHolidays = [
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/search/month_search_result.dart';
|
import 'package:photos/models/search/month_search_result.dart';
|
||||||
|
|
||||||
List<MonthData> allMonths = [
|
List<MonthData> allMonths = [
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/utils/date_time_util.dart';
|
import 'package:photos/utils/date_time_util.dart';
|
||||||
|
|
||||||
class YearsData {
|
class YearsData {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// @dart = 2.9
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:photo_manager/photo_manager.dart';
|
import 'package:photo_manager/photo_manager.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io' as io;
|
import 'dart:io' as io;
|
||||||
import 'dart:io';
|
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
|
@ -101,7 +102,7 @@ class FilesDB {
|
||||||
|
|
||||||
// this opens the database (and creates it if it doesn't exist)
|
// this opens the database (and creates it if it doesn't exist)
|
||||||
Future<Database> _initDatabase() async {
|
Future<Database> _initDatabase() async {
|
||||||
final Directory documentsDirectory =
|
final io.Directory documentsDirectory =
|
||||||
await getApplicationDocumentsDirectory();
|
await getApplicationDocumentsDirectory();
|
||||||
final String path = join(documentsDirectory.path, _databaseName);
|
final String path = join(documentsDirectory.path, _databaseName);
|
||||||
_logger.info("DB path " + path);
|
_logger.info("DB path " + path);
|
||||||
|
@ -931,7 +932,7 @@ class FilesDB {
|
||||||
// on iOS, match using localID and fileType. title can either match or
|
// on iOS, match using localID and fileType. title can either match or
|
||||||
// might be null based on how the file was imported
|
// might be null based on how the file was imported
|
||||||
String whereClause = ''' ($columnOwnerID = ? OR $columnOwnerID IS NULL) AND
|
String whereClause = ''' ($columnOwnerID = ? OR $columnOwnerID IS NULL) AND
|
||||||
$columnLocalID = ? AND $columnFileType = ? AND
|
$columnLocalID = ? AND $columnFileType = ? AND ß
|
||||||
($columnTitle=? OR $columnTitle IS NULL) ''';
|
($columnTitle=? OR $columnTitle IS NULL) ''';
|
||||||
List<Object> whereArgs = [
|
List<Object> whereArgs = [
|
||||||
ownerID,
|
ownerID,
|
||||||
|
@ -939,7 +940,7 @@ class FilesDB {
|
||||||
getInt(fileType),
|
getInt(fileType),
|
||||||
title,
|
title,
|
||||||
];
|
];
|
||||||
if (Platform.isAndroid) {
|
if (io.Platform.isAndroid) {
|
||||||
whereClause = ''' ($columnOwnerID = ? OR $columnOwnerID IS NULL) AND
|
whereClause = ''' ($columnOwnerID = ? OR $columnOwnerID IS NULL) AND
|
||||||
$columnLocalID = ? AND $columnFileType = ? AND $columnTitle=? AND $columnDeviceFolder= ?
|
$columnLocalID = ? AND $columnFileType = ? AND $columnTitle=? AND $columnDeviceFolder= ?
|
||||||
''';
|
''';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_datetime_picker/flutter_datetime_picker.dart';
|
import 'package:flutter_datetime_picker/flutter_datetime_picker.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class AccountConfiguredEvent extends Event {}
|
class AccountConfiguredEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class BackupFoldersUpdatedEvent extends Event {}
|
class BackupFoldersUpdatedEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/events/files_updated_event.dart';
|
import 'package:photos/events/files_updated_event.dart';
|
||||||
|
|
||||||
class CollectionUpdatedEvent extends FilesUpdatedEvent {
|
class CollectionUpdatedEvent extends FilesUpdatedEvent {
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
class Event {}
|
class Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class ForceReloadHomeGalleryEvent extends Event {
|
class ForceReloadHomeGalleryEvent extends Event {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class ForceReloadTrashPageEvent extends Event {
|
class ForceReloadTrashPageEvent extends Event {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/files_updated_event.dart';
|
import 'package:photos/events/files_updated_event.dart';
|
||||||
|
|
||||||
class LocalPhotosUpdatedEvent extends FilesUpdatedEvent {
|
class LocalPhotosUpdatedEvent extends FilesUpdatedEvent {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class PermissionGrantedEvent extends Event {}
|
class PermissionGrantedEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class SignedInEvent extends Event {}
|
class SignedInEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class SubscriptionPurchasedEvent extends Event {}
|
class SubscriptionPurchasedEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class SyncStatusUpdate extends Event {
|
class SyncStatusUpdate extends Event {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class TabChangedEvent extends Event {
|
class TabChangedEvent extends Event {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class TriggerLogoutEvent extends Event {}
|
class TriggerLogoutEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class TwoFactorStatusChangeEvent extends Event {
|
class TwoFactorStatusChangeEvent extends Event {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class UserDetailsChangedEvent extends Event {}
|
class UserDetailsChangedEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'package:photos/events/event.dart';
|
import 'package:photos/events/event.dart';
|
||||||
|
|
||||||
class UserLoggedOutEvent extends Event {}
|
class UserLoggedOutEvent extends Event {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
import 'dart:ui';
|
import 'dart:ui';
|
||||||
|
|
||||||
class L10n {
|
class L10n {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class BackupStatus {
|
class BackupStatus {
|
||||||
final List<String> localIDs;
|
final List<String> localIDs;
|
||||||
final int size;
|
final int size;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:core';
|
import 'dart:core';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
class CollectionFileItem {
|
class CollectionFileItem {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/collection.dart';
|
import 'package:photos/models/collection.dart';
|
||||||
import 'package:photos/models/device_collection.dart';
|
import 'package:photos/models/device_collection.dart';
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
class DeleteChallengeResponse {
|
class DeleteChallengeResponse {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
||||||
class DerivedKeyResult {
|
class DerivedKeyResult {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// @dart = 2.9
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
import 'package:photos/models/upload_strategy.dart';
|
import 'package:photos/models/upload_strategy.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
||||||
class EncryptionResult {
|
class EncryptionResult {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
// EnteFile is base file entry for various type of files
|
// EnteFile is base file entry for various type of files
|
||||||
// like DeviceFile,RemoteFile or TrashedFile
|
// like DeviceFile,RemoteFile or TrashedFile
|
||||||
|
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
abstract class EnteFile {
|
abstract class EnteFile {
|
||||||
// returns cacheKey which should be used while caching entry related to
|
// returns cacheKey which should be used while caching entry related to
|
||||||
// this file.
|
// this file.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
import 'package:photo_manager/photo_manager.dart';
|
import 'package:photo_manager/photo_manager.dart';
|
||||||
import 'package:photos/core/configuration.dart';
|
import 'package:photos/core/configuration.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
||||||
class FileLoadResult {
|
class FileLoadResult {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
enum FileType {
|
enum FileType {
|
||||||
image,
|
image,
|
||||||
video,
|
video,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
||||||
class GalleryItemsFilter {
|
class GalleryItemsFilter {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
enum GalleryType {
|
enum GalleryType {
|
||||||
homepage,
|
homepage,
|
||||||
archive,
|
archive,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/trash_file.dart';
|
import 'package:photos/models/trash_file.dart';
|
||||||
|
|
||||||
const kIgnoreReasonTrash = "trash";
|
const kIgnoreReasonTrash = "trash";
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
class KeyAttributes {
|
class KeyAttributes {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/key_attributes.dart';
|
import 'package:photos/models/key_attributes.dart';
|
||||||
import 'package:photos/models/private_key_attributes.dart';
|
import 'package:photos/models/private_key_attributes.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class Location {
|
class Location {
|
||||||
final double latitude;
|
final double latitude;
|
||||||
final double longitude;
|
final double longitude;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
const kVisibilityVisible = 0;
|
const kVisibilityVisible = 0;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
||||||
class Memory {
|
class Memory {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class PrivateKeyAttributes {
|
class PrivateKeyAttributes {
|
||||||
final String key;
|
final String key;
|
||||||
final String recoveryKey;
|
final String recoveryKey;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class PublicKey {
|
class PublicKey {
|
||||||
final String email;
|
final String email;
|
||||||
final String publicKey;
|
final String publicKey;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/collection_items.dart';
|
import 'package:photos/models/collection_items.dart';
|
||||||
import 'package:photos/models/search/search_results.dart';
|
import 'package:photos/models/search/search_results.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
import 'package:photos/models/search/search_results.dart';
|
import 'package:photos/models/search/search_results.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
import 'package:photos/models/search/search_results.dart';
|
import 'package:photos/models/search/search_results.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class LocationApiResponse {
|
class LocationApiResponse {
|
||||||
final List<LocationDataFromResponse> results;
|
final List<LocationDataFromResponse> results;
|
||||||
LocationApiResponse({
|
LocationApiResponse({
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
import 'package:photos/models/search/search_results.dart';
|
import 'package:photos/models/search/search_results.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
import 'package:photos/models/search/search_results.dart';
|
import 'package:photos/models/search/search_results.dart';
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
class SearchResult {}
|
class SearchResult {}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
import 'package:photos/models/search/search_results.dart';
|
import 'package:photos/models/search/search_results.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
class SetKeysRequest {
|
class SetKeysRequest {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
class SetRecoveryKeyRequest {
|
class SetRecoveryKeyRequest {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
const kFreeProductID = "free";
|
const kFreeProductID = "free";
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:photos/models/file.dart';
|
import 'package:photos/models/file.dart';
|
||||||
|
|
||||||
class TrashFile extends File {
|
class TrashFile extends File {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
class TrashRequest {
|
class TrashRequest {
|
||||||
final int fileID;
|
final int fileID;
|
||||||
final int collectionID;
|
final int collectionID;
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
class UploadURL {
|
class UploadURL {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
|
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
|
|
||||||
class AppLifecycleService {
|
class AppLifecycleService {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:dio/dio.dart';
|
import 'package:dio/dio.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:dio/dio.dart';
|
import 'package:dio/dio.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:photos/core/configuration.dart';
|
import 'package:photos/core/configuration.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:flutter_sodium/flutter_sodium.dart';
|
import 'package:flutter_sodium/flutter_sodium.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:dio/dio.dart';
|
import 'package:dio/dio.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// @dart = 2.9
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
|
|
||||||
import 'package:computer/computer.dart';
|
import 'package:computer/computer.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:local_auth/local_auth.dart';
|
import 'package:local_auth/local_auth.dart';
|
||||||
import 'package:photos/core/configuration.dart';
|
import 'package:photos/core/configuration.dart';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:core';
|
import 'dart:core';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// @dart=2.9
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue