chore: move development keys to constants file
This commit is contained in:
parent
282d29f68f
commit
2da8475e8b
|
@ -8,6 +8,7 @@ import 'package:nanoid/nanoid.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:shared_preferences/shared_preferences.dart';
|
import 'package:shared_preferences/shared_preferences.dart';
|
||||||
import '../utils/utils.dart';
|
import '../utils/utils.dart';
|
||||||
|
import '../utils/constants.dart';
|
||||||
|
|
||||||
class ThemeMap {
|
class ThemeMap {
|
||||||
static const material = 0;
|
static const material = 0;
|
||||||
|
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
import '../providers/settings.dart';
|
import '../providers/settings.dart';
|
||||||
import '../scaffolds/simple.dart';
|
import '../scaffolds/simple.dart';
|
||||||
import '../utils/utils.dart';
|
import '../utils/constants.dart';
|
||||||
import '../widgets/link.dart';
|
import '../widgets/link.dart';
|
||||||
|
|
||||||
class LoginScreen extends StatefulWidget {
|
class LoginScreen extends StatefulWidget {
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
// These keys are for development
|
||||||
|
var clientId = '9b7d1cc04a1db5710767';
|
||||||
|
var clientSecret = '710e085908dde6a8b55f7a9dc447ad5c0c5617d1';
|
|
@ -7,10 +7,6 @@ export 'github.dart';
|
||||||
export 'octicons.dart';
|
export 'octicons.dart';
|
||||||
export 'timeago.dart';
|
export 'timeago.dart';
|
||||||
|
|
||||||
// These keys are for development
|
|
||||||
var clientId = '9b7d1cc04a1db5710767';
|
|
||||||
var clientSecret = '710e085908dde6a8b55f7a9dc447ad5c0c5617d1';
|
|
||||||
|
|
||||||
Color convertColor(String cssHex) {
|
Color convertColor(String cssHex) {
|
||||||
if (cssHex.startsWith('#')) {
|
if (cssHex.startsWith('#')) {
|
||||||
cssHex = cssHex.substring(1);
|
cssHex = cssHex.substring(1);
|
||||||
|
|
Loading…
Reference in New Issue