Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2020
PPL-C
DTB-Layanan Fasilitas Publik Penyandang Disabilitas
PoiPoLeGan-PPLapanganTembak-DTB Layanan Fasilitas Publik Penyandang Disabilitas-FE
Commits
a512ea4d
Commit
a512ea4d
authored
Feb 25, 2020
by
Adzkia Aisyah Afrah Hardian
Browse files
[REFACTOR] change variable names into camelCase
parent
975d41e0
Pipeline
#31400
failed with stages
in 53 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/config/strings.dart
View file @
a512ea4d
// Frequently used strings are stored here
// No hardcoding string view files. Store here.
final
String
DEV_BASE_URL
=
"poipole.herokuapp.com"
;
final
String
BASE_URL
=
"poipole.herokuapp.com"
;
String
KEY
=
""
;
String
CSRF
=
""
;
String
SESSION_ID
=
""
;
final
String
devBaseUrl
=
"poipole.herokuapp.com"
;
final
String
baseUrl
=
"poipole.herokuapp.com"
;
String
key
=
""
;
String
csrf
=
""
;
String
sessionId
=
""
;
setKey
(
String
key
)
{
KEY
=
key
;
key
=
key
;
}
setSessionId
(
String
sessionId
)
{
SESSION_ID
=
sessionId
;
sessionId
=
sessionId
;
}
\ No newline at end of file
lib/flavor/flavor.dart
View file @
a512ea4d
...
...
@@ -7,9 +7,9 @@ class ApiFlavor {
static
String
getBaseUrl
()
{
if
(
ApiFlavor
.
flavor
==
BuildFlavor
.
development
.
toString
())
{
return
DEV_BASE_URL
;
return
devBaseUrl
;
}
else
{
return
BASE_URL
;
return
baseUrl
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment