Skip to content

Commit

Permalink
add update
Browse files Browse the repository at this point in the history
  • Loading branch information
kidozh committed Sep 5, 2024
1 parent a6e8dc1 commit 86e4cbc
Show file tree
Hide file tree
Showing 30 changed files with 1,066 additions and 679 deletions.
50 changes: 0 additions & 50 deletions ios/Podfile

This file was deleted.

6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
ENABLE_BITCODE = NO;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -543,7 +543,7 @@
ENABLE_BITCODE = NO;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -573,7 +573,7 @@
ENABLE_BITCODE = NO;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
4 changes: 3 additions & 1 deletion lib/JsonResult/CheckPostResult.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,17 @@ class AllowPerm{

@JsonSerializable(ignoreUnannotated: true)
class AllowUpload{
@StringToIntConverter()
int jpg = 0, jpeg = 0, gif = 0, png = 0, mp3 = 0, txt = 0, zip = -1, rar = -1, pdf = -1;

AllowUpload();

factory AllowUpload.fromJson(Map<String, dynamic> json) => _$AllowUploadFromJson(json);
}

@JsonSerializable(ignoreUnannotated: true)
@JsonSerializable()
class AttachRemain{
@StringToIntConverter()
int size = 0, count = 0;

AttachRemain();
Expand Down
10 changes: 7 additions & 3 deletions lib/JsonResult/CheckPostResult.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions lib/JsonResult/SupportDiscuzListResult.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@

import 'package:discuz_flutter/JsonResult/BaseVariableResult.dart';
import 'package:discuz_flutter/entity/Smiley.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:discuz_flutter/converter/StringToIntConverter.dart';

import 'BaseResult.dart';
import 'ErrorResult.dart';


part 'SupportDiscuzListResult.g.dart';
Expand Down
1 change: 1 addition & 0 deletions lib/client/CheveretoApiClient.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:dio/dio.dart' hide Headers;
import 'package:discuz_flutter/JsonResult/ChevertoUploadResult.dart';
import 'package:retrofit/error_logger.dart';
import 'package:retrofit/http.dart';

part 'CheveretoApiClient.g.dart';
Expand Down
37 changes: 23 additions & 14 deletions lib/client/CheveretoApiClient.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 86e4cbc

Please sign in to comment.