A android/app/src/main/res/drawable-night/launch_background.xml => android/app/src/main/res/drawable-night/launch_background.xml +11 -0
@@ 0,0 1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Modify this file to customize your launch splash screen -->
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@android:color/black" />
+
+ <item>
+ <bitmap
+ android:gravity="center"
+ android:src="@mipmap/logo" />
+ </item>
+</layer-list>
M lib/main.dart => lib/main.dart +1 -0
@@ 98,6 98,7 @@ class MyApp extends StatelessWidget {
child: Consumer<GlobalModel>(
builder: (context, globalModel, child) => CupertinoApp(
title: "Fluent Reader",
+ debugShowCheckedModeBanner: false,
localizationsDelegates: [
// ... app-specific localization delegate[s] here
S.delegate,
M lib/pages/item_list_page.dart => lib/pages/item_list_page.dart +1 -0
@@ 175,6 175,7 @@ class _ItemListPageState extends State<ItemListPage> {
saveText: S.of(context).search,
initialValue: getFeed().search,
navigationBarColor: CupertinoColors.systemBackground,
+ enableSuggestions: true,
),
));
if (keyword == null) return;
M lib/pages/settings/text_editor_page.dart => lib/pages/settings/text_editor_page.dart +4 -0
@@ 12,6 12,7 @@ class TextEditorPage extends StatefulWidget {
final Color navigationBarColor;
final FutureOr<bool> Function(String) validate;
final TextInputType inputType;
+ final bool enableSuggestions;
TextEditorPage(
this.title,
@@ 21,6 22,7 @@ class TextEditorPage extends StatefulWidget {
this.saveText,
this.initialValue: "",
this.inputType,
+ this.enableSuggestions: false,
Key key,
})
: super(key: key);
@@ 91,6 93,8 @@ class _TextEditorPage extends State<TextEditorPage> {
obscureText: widget.inputType == TextInputType.visiblePassword,
keyboardType: widget.inputType,
onSubmitted: (v) { _onSave(); },
+ autocorrect: widget.enableSuggestions,
+ enableSuggestions: widget.enableSuggestions,
),
]),
]),