Skip to content

Commit ec64627

Browse files
committed
Added cracking
1 parent 8546541 commit ec64627

File tree

6 files changed

+28
-9
lines changed

6 files changed

+28
-9
lines changed

android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (flutterRoot == null) {
1313

1414
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1515
if (flutterVersionCode == null) {
16-
flutterVersionCode = '369'
16+
flutterVersionCode = '370'
1717
}
1818

1919
def flutterVersionName = localProperties.getProperty('flutter.versionName')

ios/Runner.xcodeproj/project.pbxproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@
536536
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
537537
CODE_SIGN_IDENTITY = "Apple Development";
538538
CODE_SIGN_STYLE = Automatic;
539-
CURRENT_PROJECT_VERSION = 369;
539+
CURRENT_PROJECT_VERSION = 370;
540540
DEVELOPMENT_ASSET_PATHS = "";
541541
DEVELOPMENT_TEAM = 53KVJRJS99;
542542
ENABLE_BITCODE = NO;
@@ -680,7 +680,7 @@
680680
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
681681
CODE_SIGN_IDENTITY = "Apple Development";
682682
CODE_SIGN_STYLE = Automatic;
683-
CURRENT_PROJECT_VERSION = 369;
683+
CURRENT_PROJECT_VERSION = 370;
684684
DEVELOPMENT_ASSET_PATHS = "";
685685
DEVELOPMENT_TEAM = 53KVJRJS99;
686686
ENABLE_BITCODE = NO;
@@ -718,7 +718,7 @@
718718
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
719719
CODE_SIGN_IDENTITY = "Apple Development";
720720
CODE_SIGN_STYLE = Automatic;
721-
CURRENT_PROJECT_VERSION = 369;
721+
CURRENT_PROJECT_VERSION = 370;
722722
DEVELOPMENT_ASSET_PATHS = "";
723723
DEVELOPMENT_TEAM = 53KVJRJS99;
724724
ENABLE_BITCODE = NO;

lib/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ import 'package:workmanager/workmanager.dart';
5555

5656
// TODO: CONFIGURE FOR APP RELEASE, include exceptions in Drawer if applicable
5757
const String appVersion = '3.2.4';
58-
const String androidCompilation = '369';
59-
const String iosCompilation = '369';
58+
const String androidCompilation = '370';
59+
const String iosCompilation = '370';
6060

6161
final FirebaseAnalytics analytics = FirebaseAnalytics.instance;
6262

lib/models/profile/own_profile_misc.dart

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class OwnProfileMisc {
4646
this.cardSkimming,
4747
this.hustling,
4848
this.disposal,
49+
this.cracking,
4950
//
5051
this.cityBank,
5152
this.educationCompleted,
@@ -91,6 +92,7 @@ class OwnProfileMisc {
9192
String? cardSkimming;
9293
String? hustling;
9394
String? disposal;
95+
String? cracking;
9496
//
9597
CityBank? cityBank;
9698
List<int>? educationCompleted;
@@ -134,6 +136,7 @@ class OwnProfileMisc {
134136
cardSkimming: json["card_skimming"],
135137
hustling: json["hustling"],
136138
disposal: json["disposal"],
139+
cracking: json["cracking"],
137140
cityBank: json["city_bank"] == null ? null : CityBank.fromJson(json["city_bank"]),
138141
educationCompleted:
139142
json["education_completed"] == null ? null : List<int>.from(json["education_completed"].map((x) => x)),
@@ -180,6 +183,7 @@ class OwnProfileMisc {
180183
"card_skimming": cardSkimming,
181184
"hustling": hustling,
182185
"disposal": disposal,
186+
"cracking": cracking,
183187
"city_bank": cityBank == null ? null : cityBank!.toJson(),
184188
"education_completed":
185189
educationCompleted == null ? null : List<dynamic>.from(educationCompleted!.map((x) => x)),

lib/pages/profile_page.dart

+14-1
Original file line numberDiff line numberDiff line change
@@ -3461,6 +3461,7 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
34613461
var cardSkimming = "";
34623462
var hustling = "";
34633463
var disposal = "";
3464+
var cracking = "";
34643465
hunting = _miscModel!.hunting ?? "";
34653466
racing = _miscModel!.racing ?? "";
34663467
reviving = _miscModel!.reviving ?? "";
@@ -3473,6 +3474,7 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
34733474
cardSkimming = _miscModel!.cardSkimming ?? "";
34743475
hustling = _miscModel!.hustling ?? "";
34753476
disposal = _miscModel!.disposal ?? "";
3477+
cracking = _miscModel!.cracking ?? "";
34763478

34773479
if (searchForCash.isNotEmpty ||
34783480
bootlegging.isNotEmpty ||
@@ -3482,7 +3484,8 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
34823484
shoplifting.isNotEmpty ||
34833485
cardSkimming.isNotEmpty ||
34843486
hustling.isNotEmpty ||
3485-
disposal.isNotEmpty) {
3487+
disposal.isNotEmpty ||
3488+
cracking.isNotEmpty) {
34863489
crimesExist = true;
34873490
}
34883491

@@ -4104,6 +4107,16 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
41044107
SelectableText(disposal),
41054108
],
41064109
),
4110+
if (cracking.isNotEmpty)
4111+
Row(
4112+
children: [
4113+
const SizedBox(
4114+
width: 130,
4115+
child: Text('Cracking: '),
4116+
),
4117+
SelectableText(cracking),
4118+
],
4119+
),
41074120
],
41084121
),
41094122
),

lib/utils/changelog.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ class ChangeLogState extends State<ChangeLog> {
3939
void _createItems() {
4040
final itemList = <ChangeLogItem>[];
4141

42-
// Build 368 - 24/12/2023
42+
// Build 370 - 24/12/2023
4343

4444
// VERSION 3.2.4
4545
final v3_2_4 = ChangeLogItem();
4646
v3_2_4.version = 'Torn PDA v3.2.4';
4747
v3_2_4.date = '28 DEC 2023';
48-
const String feat3_2_4_1 = "Fixed browser crashes in certain devices";
48+
const String feat3_2_4_1 = "Added Cracking to Basic Info card in Profile";
49+
const String feat3_2_4_2 = "Fixed browser crashes in certain devices";
4950
v3_2_4.features.add(feat3_2_4_1);
51+
v3_2_4.features.add(feat3_2_4_2);
5052

5153
// VERSION 3.2.3
5254
final v3_2_3 = ChangeLogItem();

0 commit comments

Comments
 (0)