Skip to content

Commit

Permalink
remove google core lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Notsfsssf committed Jun 27, 2024
1 parent 2513757 commit ac231b6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 27 deletions.
5 changes: 2 additions & 3 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 34
versionCode 10009430
versionName "0.9.43 Vital"
versionCode 10009434
versionName "0.9.44 X"
ndk { abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64' }
}
compileOptions {
Expand Down Expand Up @@ -137,6 +137,5 @@ dependencies {
implementation("androidx.browser:browser:1.7.0")
implementation("com.waynejo:androidndkgif:0.3.3")
implementation("androidx.preference:preference-ktx:1.2.1")
implementation("com.google.android.play:core:1.10.3")
implementation("androidx.documentfile:documentfile:1.0.1")
}
5 changes: 0 additions & 5 deletions android/app/src/main/kotlin/com/perol/pixez/PixEz.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ package com.perol.pixez

import coil.ImageLoader
import coil.ImageLoaderFactory
import com.google.android.play.core.missingsplits.MissingSplitsManagerFactory
import io.flutter.app.FlutterApplication


class PixEz : FlutterApplication(), ImageLoaderFactory {
override fun onCreate() {
if (MissingSplitsManagerFactory.create(this).disableAppIfMissingRequiredSplits()) {
// Skip app initialization.
return
}
super.onCreate()
CrashHandler.instance.init(applicationContext)
}
Expand Down
33 changes: 15 additions & 18 deletions lib/page/novel/viewer/novel_viewer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,24 +206,21 @@ class _NovelViewerPageState extends State<NovelViewerPage> {
],
),
extendBodyBehindAppBar: true,
body: Scrollbar(
controller: _controller,
child: ListView.builder(
padding: EdgeInsets.all(0),
controller: _controller,
itemBuilder: (context, index) {
if (index == 0) {
return _buildHeader(context);
} else if (index == _novelStore.spans.length + 1) {
return Container(
height: 10 + MediaQuery.of(context).padding.bottom);
} else {
return _buildSpanText(
context, index - 1, _novelStore.spans);
}
},
itemCount: 2 + _novelStore.spans.length),
),
body: ListView.builder(
padding: EdgeInsets.all(0),
controller: _controller,
itemBuilder: (context, index) {
if (index == 0) {
return _buildHeader(context);
} else if (index == _novelStore.spans.length + 1) {
return Container(
height: 10 + MediaQuery.of(context).padding.bottom);
} else {
return _buildSpanText(
context, index - 1, _novelStore.spans);
}
},
itemCount: 2 + _novelStore.spans.length),
),
);
}
Expand Down
1 change: 0 additions & 1 deletion lib/page/search/result_illust_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ class _ResultIllustListState extends State<ResultIllustList> {
),
onTap: () {
_buildShowBottomSheet(context);
// _showMaterialBottom();
}),
],
),
Expand Down

0 comments on commit ac231b6

Please sign in to comment.