Preping for merge in main
This commit is contained in:
parent
3953f80940
commit
66c8c06673
10 changed files with 19 additions and 17 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -43,3 +43,5 @@ app.*.map.json
|
||||||
/android/app/profile
|
/android/app/profile
|
||||||
/android/app/release
|
/android/app/release
|
||||||
/android/key.properties
|
/android/key.properties
|
||||||
|
|
||||||
|
# NEVER STORE ANY KEY OR API KEYS WHEN COMMITING CODE!!
|
||||||
|
|
|
@ -49,7 +49,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "de.voidspace.recon"
|
applicationId "de.tojcklguy.opencontacts"
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion flutter.targetSdkVersion
|
targetSdkVersion flutter.targetSdkVersion
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="de.voidspace.recon">
|
package="de.tojcklguy.opencontacts">
|
||||||
<!-- The INTERNET permission is required for development. Specifically,
|
<!-- The INTERNET permission is required for development. Specifically,
|
||||||
the Flutter tool needs it to communicate with the running application
|
the Flutter tool needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="de.voidspace.recon">
|
package="de.tojcklguy.opencontacts">
|
||||||
|
|
||||||
<!-- Required to fetch data from the internet. -->
|
<!-- Required to fetch data from the internet. -->
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.voidspace.recon
|
package de.tojcklguy.opencontacts
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterActivity
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="de.voidspace.recon">
|
package="de.tojcklguy.opencontacts">
|
||||||
<!-- The INTERNET permission is required for development. Specifically,
|
<!-- The INTERNET permission is required for development. Specifically,
|
||||||
the Flutter tool needs it to communicate with the running application
|
the Flutter tool needs it to communicate with the running application
|
||||||
to allow setting breakpoints, to provide hot reload, etc.
|
to allow setting breakpoints, to provide hot reload, etc.
|
||||||
|
|
|
@ -53,7 +53,7 @@ class _FriendsListAppBarState extends State<FriendsListAppBar> with AutomaticKee
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
itemBuilder: (BuildContext context) => OnlineStatus.values
|
itemBuilder: (BuildContext context) => OnlineStatus.values
|
||||||
.where((element) => element == OnlineStatus.online || element == OnlineStatus.offline).sorted((a, b) => b.index.compareTo(a.index),)
|
.where((element) => element == OnlineStatus.sociable || element == OnlineStatus.online ||element == OnlineStatus.busy || element == OnlineStatus.offline).sorted((a, b) => b.index.compareTo(a.index),)
|
||||||
.map(
|
.map(
|
||||||
(item) => PopupMenuItem<OnlineStatus>(
|
(item) => PopupMenuItem<OnlineStatus>(
|
||||||
value: item,
|
value: item,
|
||||||
|
|
|
@ -17,8 +17,8 @@ class Home extends StatefulWidget {
|
||||||
|
|
||||||
class _HomeState extends State<Home> {
|
class _HomeState extends State<Home> {
|
||||||
static const List<Widget> _appBars = [
|
static const List<Widget> _appBars = [
|
||||||
FriendsListAppBar(),
|
|
||||||
SessionListAppBar(),
|
SessionListAppBar(),
|
||||||
|
FriendsListAppBar(),
|
||||||
InventoryBrowserAppBar(),
|
InventoryBrowserAppBar(),
|
||||||
SettingsAppBar()
|
SettingsAppBar()
|
||||||
];
|
];
|
||||||
|
@ -41,8 +41,8 @@ class _HomeState extends State<Home> {
|
||||||
controller: _pageController,
|
controller: _pageController,
|
||||||
physics: const NeverScrollableScrollPhysics(),
|
physics: const NeverScrollableScrollPhysics(),
|
||||||
children: const [
|
children: const [
|
||||||
FriendsList(),
|
|
||||||
SessionList(),
|
SessionList(),
|
||||||
|
FriendsList(),
|
||||||
InventoryBrowser(),
|
InventoryBrowser(),
|
||||||
SettingsPage(),
|
SettingsPage(),
|
||||||
],
|
],
|
||||||
|
@ -60,14 +60,14 @@ class _HomeState extends State<Home> {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
destinations: const [
|
destinations: const [
|
||||||
NavigationDestination(
|
|
||||||
icon: Icon(Icons.message),
|
|
||||||
label: "Chat",
|
|
||||||
),
|
|
||||||
NavigationDestination(
|
NavigationDestination(
|
||||||
icon: Icon(Icons.public),
|
icon: Icon(Icons.public),
|
||||||
label: "Sessions",
|
label: "Sessions",
|
||||||
),
|
),
|
||||||
|
NavigationDestination(
|
||||||
|
icon: Icon(Icons.message),
|
||||||
|
label: "Chat",
|
||||||
|
),
|
||||||
NavigationDestination(
|
NavigationDestination(
|
||||||
icon: Icon(Icons.inventory),
|
icon: Icon(Icons.inventory),
|
||||||
label: "Inventory",
|
label: "Inventory",
|
||||||
|
|
|
@ -111,8 +111,8 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Future<void> passwordResetSubmit() async {
|
Future<void> passwordResetSubmit() async {
|
||||||
if (_usernameController.text.isEmpty) {
|
if (_usernameController.text.isEmpty) {
|
||||||
setState(() {
|
setState(() {
|
||||||
_error = "Please provide an email on the 'Username' textbox";
|
_error = "Please provide an email on the 'Username' textbox";
|
||||||
});
|
});
|
||||||
|
@ -297,7 +297,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||||
label: const Text("Login"),
|
label: const Text("Login"),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
/*Padding(
|
||||||
padding: const EdgeInsets.only(top: 16),
|
padding: const EdgeInsets.only(top: 16),
|
||||||
child: _isEmailResetSend
|
child: _isEmailResetSend
|
||||||
? const Center(child: CircularProgressIndicator())
|
? const Center(child: CircularProgressIndicator())
|
||||||
|
@ -306,7 +306,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||||
icon: const Icon(Icons.refresh),
|
icon: const Icon(Icons.refresh),
|
||||||
label: const Text("Forgot Password?"),
|
label: const Text("Forgot Password?"),
|
||||||
),
|
),
|
||||||
),
|
),*/
|
||||||
Center(
|
Center(
|
||||||
child: AnimatedOpacity(
|
child: AnimatedOpacity(
|
||||||
opacity: _errorOpacity,
|
opacity: _errorOpacity,
|
||||||
|
|
|
@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
|
||||||
set(BINARY_NAME "recon")
|
set(BINARY_NAME "recon")
|
||||||
# The unique GTK application identifier for this application. See:
|
# The unique GTK application identifier for this application. See:
|
||||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
||||||
set(APPLICATION_ID "de.voidspace.recon")
|
set(APPLICATION_ID "de.tojcklguy.opencontacts")
|
||||||
|
|
||||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||||
# versions of CMake.
|
# versions of CMake.
|
||||||
|
|
Loading…
Reference in a new issue