Skip to content

Commit

Permalink
Merge pull request #56 from devansh12b2/upgradtion
Browse files Browse the repository at this point in the history
compiled sdk issue resolved
  • Loading branch information
devansh12b2 authored Oct 1, 2022
2 parents 66501c2 + d14b06e commit fb16591
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 84 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 31
compileSdkVersion 32

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand Down
5 changes: 2 additions & 3 deletions lib/screen/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class _ProfilePageState extends State<ProfilePage> {
child: Center(
child: ListTile(
leading: Icon(
Icons.class__outlined,
Icons.class_outlined,
size: 35,
),
title: Text(
Expand Down Expand Up @@ -280,8 +280,7 @@ class _ProfilePageState extends State<ProfilePage> {
await SharedPreferences.getInstance();
prefs.clear();
prefs.setBool(isOnboarded, true);
Navigator.of(context)
.pushNamedAndRemoveUntil(
Navigator.of(context).pushNamedAndRemoveUntil(
LoginRoute,
(route) => false,
);
Expand Down
Loading

0 comments on commit fb16591

Please sign in to comment.