Skip to content

Commit

Permalink
upgrading to target SDK 31 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkieres authored Nov 19, 2022
1 parent 251b574 commit d2bf6a5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion board_games_companion/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ android {
defaultConfig {
applicationId "com.progrunning.boardgamescompanion"
minSdkVersion 19
targetSdkVersion 30
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</queries>

<application android:name="${applicationName}" android:label="Board Games Companion" android:icon="@mipmap/ic_launcher" android:allowBackup="false">
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
Expand Down
1 change: 0 additions & 1 deletion board_games_companion/lib/common/app_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ class AppText {
'Unfortunately we ran into a problem with restoring your data. Please try again or contact support at [email protected]';

static const playHistoryPageEmptyTitle = "You haven't played any games yet";
static const playHistoryPageEmptyTextPartOne = 'Nothing to worry about though! ';
static const playHistoryPageEmptyTextPartTwo =
'Start recording your plays in the app and this screen will automatically populate with a history of your playthroughs.';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@ class _NoPlaythroughsSliver extends StatelessWidget {
Text.rich(
TextSpan(
children: <InlineSpan>[
TextSpan(
text: AppText.playHistoryPageEmptyTextPartOne,
style: TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(text: AppText.playHistoryPageEmptyTextPartTwo),
],
),
Expand Down

0 comments on commit d2bf6a5

Please sign in to comment.