Skip to content

Commit

Permalink
android 0.9.28
Browse files Browse the repository at this point in the history
  • Loading branch information
Notsfsssf committed Aug 20, 2023
1 parent 607871c commit c37ffdb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ android {
applicationId packageName
minSdkVersion 21
targetSdkVersion 33
versionCode 10009273
versionName "0.9.28 X"
versionCode 10009280
versionName "0.9.28 li"
ndk { abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64' }
}
compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import 'dart:io';

class Constants {
static String tagName = "0.9.27";
static String tagName = "0.9.28";
static const isGooglePlay =
bool.fromEnvironment("IS_GOOGLEPLAY", defaultValue: false);
static int type = 0;
Expand Down
10 changes: 10 additions & 0 deletions lib/page/hello/android_hello_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import 'package:pixez/page/hello/setting/setting_page.dart';
import 'package:pixez/page/login/login_page.dart';
import 'package:pixez/page/saucenao/saucenao_page.dart';
import 'package:pixez/page/search/search_page.dart';
import 'package:pixez/page/search/suggest/search_suggestion_page.dart';
import 'package:receive_sharing_intent/receive_sharing_intent.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:uni_links2/uni_links.dart';
Expand Down Expand Up @@ -312,6 +313,15 @@ class _AndroidHelloPageState extends State<AndroidHelloPage> {
VoidCallback? _LinkCloser = null;

_showChromeLink(String link) {
final numId = int.tryParse(link);
if (numId != null) {
Leader.push(
context,
SearchSuggestionPage(
preword: link,
));
return;
}
Uri? uri = Uri.tryParse(link);
if (uri == null) return;
if (uri.scheme == "pixiv") {
Expand Down
2 changes: 1 addition & 1 deletion lib/page/search/suggest/search_suggestion_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
*/


import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
Expand Down Expand Up @@ -46,6 +45,7 @@ class _SearchSuggestionPageState extends State<SearchSuggestionPage> {

@override
void initState() {
idV = widget.preword != null && int.tryParse(widget.preword!) != null;
_suggestionStore = SuggestionStore();
_sauceStore = SauceStore();
_sauceStore.observableStream.listen((event) {
Expand Down

0 comments on commit c37ffdb

Please sign in to comment.