mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 00:12:22 -06:00
chore+fix+feat: Apply dart fixes after upgrade to flutter 3.10, add permission checks, make most api calls work again
This commit is contained in:
@@ -251,7 +251,6 @@ abstract class SearchDelegate<T> {
|
||||
///
|
||||
/// Setting the query string programmatically moves the cursor to the end of the text field.
|
||||
set query(String value) {
|
||||
assert(query != null);
|
||||
_queryTextController.text = value;
|
||||
if (_queryTextController.text.isNotEmpty) {
|
||||
_queryTextController.selection = TextSelection.fromPosition(
|
||||
|
||||
@@ -7,7 +7,6 @@ import 'dart:ui';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
const int _kOpenViewMilliseconds = 600;
|
||||
const Duration _kOpenViewDuration =
|
||||
@@ -1649,7 +1648,6 @@ class SearchBarTheme extends InheritedWidget {
|
||||
final SearchBarTheme? searchBarTheme =
|
||||
context.dependOnInheritedWidgetOfExactType<SearchBarTheme>();
|
||||
return searchBarTheme?.data ?? const SearchBarThemeData();
|
||||
;
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user