Skip to content

Commit 69d6bec

Browse files
authored
Merge pull request #315 from Manuito83/develop
Hotfix: fixed issue with AWH pricing
2 parents 5788c5c + ae878a8 commit 69d6bec

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ if (localPropertiesFile.exists()) {
1616

1717
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1818
if (flutterVersionCode == null) {
19-
flutterVersionCode = '510'
19+
flutterVersionCode = '511'
2020
}
2121

2222
def flutterVersionName = localProperties.getProperty('flutter.versionName')
2323
if (flutterVersionName == null) {
24-
flutterVersionName = '3.7.3'
24+
flutterVersionName = '3.7.4'
2525
}
2626

2727
def keystoreProperties = new Properties()

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@
549549
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
550550
CODE_SIGN_IDENTITY = "Apple Development";
551551
CODE_SIGN_STYLE = Automatic;
552-
CURRENT_PROJECT_VERSION = 510;
552+
CURRENT_PROJECT_VERSION = 511;
553553
DEVELOPMENT_ASSET_PATHS = "";
554554
DEVELOPMENT_TEAM = 53KVJRJS99;
555555
ENABLE_BITCODE = NO;
@@ -567,7 +567,7 @@
567567
"$(inherited)",
568568
"$(PROJECT_DIR)/Flutter",
569569
);
570-
MARKETING_VERSION = 3.7.3;
570+
MARKETING_VERSION = 3.7.4;
571571
PRODUCT_BUNDLE_IDENTIFIER = com.manuito.tornpda;
572572
PRODUCT_NAME = "$(TARGET_NAME)";
573573
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -698,7 +698,7 @@
698698
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
699699
CODE_SIGN_IDENTITY = "Apple Development";
700700
CODE_SIGN_STYLE = Automatic;
701-
CURRENT_PROJECT_VERSION = 510;
701+
CURRENT_PROJECT_VERSION = 511;
702702
DEVELOPMENT_ASSET_PATHS = "";
703703
DEVELOPMENT_TEAM = 53KVJRJS99;
704704
ENABLE_BITCODE = NO;
@@ -716,7 +716,7 @@
716716
"$(inherited)",
717717
"$(PROJECT_DIR)/Flutter",
718718
);
719-
MARKETING_VERSION = 3.7.3;
719+
MARKETING_VERSION = 3.7.4;
720720
PRODUCT_BUNDLE_IDENTIFIER = com.manuito.tornpda;
721721
PRODUCT_NAME = "$(TARGET_NAME)";
722722
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -739,7 +739,7 @@
739739
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
740740
CODE_SIGN_IDENTITY = "Apple Development";
741741
CODE_SIGN_STYLE = Automatic;
742-
CURRENT_PROJECT_VERSION = 510;
742+
CURRENT_PROJECT_VERSION = 511;
743743
DEVELOPMENT_ASSET_PATHS = "";
744744
DEVELOPMENT_TEAM = 53KVJRJS99;
745745
ENABLE_BITCODE = NO;
@@ -757,7 +757,7 @@
757757
"$(inherited)",
758758
"$(PROJECT_DIR)/Flutter",
759759
);
760-
MARKETING_VERSION = 3.7.3;
760+
MARKETING_VERSION = 3.7.4;
761761
PRODUCT_BUNDLE_IDENTIFIER = com.manuito.tornpda;
762762
PRODUCT_NAME = "$(TARGET_NAME)";
763763
PROVISIONING_PROFILE_SPECIFIER = "";

lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ import 'package:wakelock_plus/wakelock_plus.dart';
6969
import 'package:workmanager/workmanager.dart';
7070

7171
// TODO (App release)
72-
const String appVersion = '3.7.3';
73-
const String androidCompilation = '510';
74-
const String iosCompilation = '510';
72+
const String appVersion = '3.7.4';
73+
const String androidCompilation = '511';
74+
const String iosCompilation = '511';
7575

7676
// TODO (App release)
7777
// Note: if using Windows and calling HTTP functions, we need to change the URL in [firebase_functions.dart]

lib/providers/trades_provider.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ class TradesProvider extends ChangeNotifier {
162162
addColor2Items(itemLine, allTornItems, tradesContainer.rightItems);
163163
}
164164

165+
// We need to save the original rightItems before applying the Torn Exchange
166+
// data so that we can send them unaltered to AWH
167+
tradesContainer.rightOriginalItemsBeforeTornExchange = tradesContainer.rightItems;
168+
165169
// Check Arson Warehouse.
166170
tradesContainer.awhActive = await Prefs().getAWHEnabled();
167171

@@ -190,10 +194,6 @@ class TradesProvider extends ChangeNotifier {
190194
// and preserving any leftover items that TE doesn’t mention.
191195
// This also ensures we keep original market prices for items that TE sets to zero.
192196

193-
// If we have a Torn Exchange response, we need to save the original rightItems
194-
// before applying the Torn Exchange data so that we can send them unaltered to AWH
195-
tradesContainer.rightOriginalItemsBeforeTornExchange = tradesContainer.rightItems;
196-
197197
// Apply Torn Exchange data to our existing rightItems
198198
tradesContainer.rightItems = applyTornExchangeIn(
199199
tradesContainer.rightItems,

lib/utils/changelog.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ class ChangeLogState extends State<ChangeLog> {
5151
void _createItems() {
5252
final itemList = <ChangeLogItem>[];
5353

54-
// v3.7.3 - Build 510 - 08/04/2025
54+
// v3.7.4 - Build 511 - 012/04/2025
5555
itemList.add(
5656
ChangeLogItem()
57-
..version = 'Torn PDA v3.7.3'
57+
..version = 'Torn PDA v3.7.4'
5858
..date = '15 APR 2025'
59+
..infoString = "Hotfix: fixed issue with AWH pricing"
5960
..features = [
6061
"Alerts: company messages can now be filtered out in chat notifications",
6162
"Added Wiki to the main drawer menu",

0 commit comments

Comments
 (0)