Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrysbita committed Sep 28, 2024
1 parent 043b20f commit d7350e1
Show file tree
Hide file tree
Showing 9 changed files with 261 additions and 238 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {

defaultConfig {
applicationId "org.ctbeta.xmux.xmux"
minSdk flutter.minSdkVersion
minSdk 23
targetSdk flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
4 changes: 2 additions & 2 deletions android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ pluginManagement {

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "com.android.application" version "8.1.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
}

include ":app"
12 changes: 2 additions & 10 deletions lib/component/tab_shell_container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import 'package:go_router/go_router.dart';

abstract interface class TabInformationProvider {
Widget? buildLeading(BuildContext context);

Widget? buildTrailing(BuildContext context);

Iterable<(int, String)> getTabs(Iterable<(int, String)> branches);
}

Expand Down Expand Up @@ -58,16 +60,6 @@ class _TabShellContainerState extends State<TabShellContainer>
super.dispose();
}

@override
void didUpdateWidget(covariant TabShellContainer oldWidget) {
super.didUpdateWidget(oldWidget);
final shellIndex = widget.navigationShell.currentIndex;
final tabIndex = _tabController.index;
if (tabIndex != shellIndex) {
_tabController.animateTo(shellIndex);
}
}

@override
Widget build(BuildContext context) {
final branches = widget.navigationShell.route.branches
Expand Down
2 changes: 2 additions & 0 deletions macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import package_info_plus
import path_provider_foundation
import shared_preferences_foundation
import url_launcher_macos
import webview_flutter_wkwebview

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
Expand All @@ -25,4 +26,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
FLTWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "FLTWebViewFlutterPlugin"))
}
2 changes: 1 addition & 1 deletion packages/xmus_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
grpc: ^3.0.0
grpc: ^4.0.0
protobuf: ^3.0.0

dev_dependencies:
Expand Down
Loading

0 comments on commit d7350e1

Please sign in to comment.