|
36 | 36 | // } |
37 | 37 |
|
38 | 38 | import 'package:loftify/Utils/constant.dart' as Constant; |
| 39 | +import 'package:awesome_chewie/awesome_chewie.dart' as GlobalConstant; |
39 | 40 |
|
40 | 41 | class LoftifyControl { |
41 | 42 | final bool? enableApp; |
@@ -98,18 +99,18 @@ class LoftifyControl { |
98 | 99 | String get feedbackBody => contacts?.feedbackBody ?? Constant.feedbackBody; |
99 | 100 |
|
100 | 101 | String get officialWebsite => |
101 | | - contacts?.officialWebsite ?? Constant.officialWebsite; |
| 102 | + contacts?.officialWebsite ?? GlobalConstant.officialWebsite; |
102 | 103 |
|
103 | 104 | String get shareText => contacts?.shareText ?? Constant.shareText; |
104 | 105 |
|
105 | 106 | String get downloadPkgsUrl => |
106 | | - contacts?.downloadPkgsUrl ?? Constant.downloadPkgsUrl; |
| 107 | + contacts?.downloadPkgsUrl ?? GlobalConstant.downloadPkgsUrl; |
107 | 108 |
|
108 | | - String get repoUrl => contacts?.repoUrl ?? Constant.repoUrl; |
| 109 | + String get repoUrl => contacts?.repoUrl ?? GlobalConstant.repoUrl; |
109 | 110 |
|
110 | | - String get releaseUrl => contacts?.releaseUrl ?? Constant.releaseUrl; |
| 111 | + String get releaseUrl => contacts?.releaseUrl ?? GlobalConstant.releaseUrl; |
111 | 112 |
|
112 | | - String get issueUrl => contacts?.issueUrl ?? Constant.issueUrl; |
| 113 | + String get issueUrl => contacts?.issueUrl ?? GlobalConstant.issueUrl; |
113 | 114 |
|
114 | 115 | factory LoftifyControl.fromJson(Map<String, dynamic> json) { |
115 | 116 | return LoftifyControl( |
@@ -151,12 +152,12 @@ class LoftifyControl { |
151 | 152 | feedbackEmail: Constant.feedbackEmail, |
152 | 153 | feedbackBody: Constant.feedbackBody, |
153 | 154 | feedbackSubject: Constant.feedbackSubject, |
154 | | - issueUrl: Constant.issueUrl, |
155 | | - repoUrl: Constant.repoUrl, |
156 | | - officialWebsite: Constant.officialWebsite, |
| 155 | + issueUrl: GlobalConstant.issueUrl, |
| 156 | + repoUrl: GlobalConstant.repoUrl, |
| 157 | + officialWebsite: GlobalConstant.officialWebsite, |
157 | 158 | shareText: Constant.shareText, |
158 | | - downloadPkgsUrl: Constant.downloadPkgsUrl, |
159 | | - releaseUrl: Constant.releaseUrl, |
| 159 | + downloadPkgsUrl: GlobalConstant.downloadPkgsUrl, |
| 160 | + releaseUrl: GlobalConstant.releaseUrl, |
160 | 161 | ), |
161 | 162 | features: Features( |
162 | 163 | showDress: true, |
|
0 commit comments