Skip to content

Commit

Permalink
🔀 Merge release/1.2.0 into main (gitpanel)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerluiz committed Oct 21, 2023
2 parents 7551b0f + 61a7adb commit 1f526f2
Show file tree
Hide file tree
Showing 19 changed files with 762 additions and 288 deletions.
1 change: 1 addition & 0 deletions .fvm/flutter_sdk
4 changes: 4 additions & 0 deletions .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"flutterSdkVersion": "3.3.9",
"flavors": {}
}
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if (flutterMinSdkVersion == null) {

def flutterTargetSdkVersion = localProperties.getProperty('flutter.targetSdkVersion')
if (flutterTargetSdkVersion == null) {
flutterTargetSdkVersion = 31
flutterTargetSdkVersion = 33
}

apply plugin: 'com.android.application'
Expand Down
22 changes: 22 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,28 @@
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!-- Deep Link -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="tabnews.com.br" />
<data android:host="www.tabnews.com.br" />
<data android:pathPrefix="/" />
</intent-filter>
<!-- App Link -->
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="tabnews.com.br" />
<data android:host="www.tabnews.com.br" />
<data android:pathPrefix="/" />
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
Expand Down
4 changes: 3 additions & 1 deletion lib/builder/generate_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class GenerateContentBuilder extends StatelessWidget {
context,
MaterialPageRoute<dynamic>(
builder: (context) => ContentViewPage(
contentData: contentData,
ownerUsername: contentData.ownerUsername!,
slug: contentData.slug!,
//contentData: contentData,
),
),
);
Expand Down
4 changes: 1 addition & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ class MyAppState extends State<MyApp> with WidgetsBindingObserver {
seedColor: Colors.blue,
),
),
home: const HomePage(
appName: appName,
),
home: const HomePage(),
);
}
}
3 changes: 3 additions & 0 deletions lib/model/user.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class User {
String? id;
String? username;
String? email;
String? description;
bool? notifications;
List<dynamic>? features;
int? tabcoins;
Expand All @@ -17,6 +18,7 @@ class User {
: id = json['id'],
username = json['username'],
email = json['email'],
description = json['description'],
notifications = json['notifications'],
features = json['features'],
tabcoins = json['tabcoins'],
Expand All @@ -28,6 +30,7 @@ class User {
'id': id,
'username': username,
'email': email,
'description': description,
'notifications': notifications,
'features': features,
'tabcoins': tabcoins,
Expand Down
Loading

0 comments on commit 1f526f2

Please sign in to comment.