bugfixes
This commit is contained in:
parent
cc672d2f20
commit
80d4e18a23
@ -21,7 +21,7 @@ run-android:
|
|||||||
install-release:
|
install-release:
|
||||||
# Install on Pixel 7a
|
# Install on Pixel 7a
|
||||||
flutter build apk --release
|
flutter build apk --release
|
||||||
flutter install --release -d 35221JEHN07157
|
flutter run --release -d 35221JEHN07157
|
||||||
|
|
||||||
build-release:
|
build-release:
|
||||||
flutter build apk --release
|
flutter build apk --release
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
- [ ] Still @ERROR on scn-init, but no logs? - better persist error (write in SharedPrefs at error_$date=txt ?), also perhaps print first error line in scn-init notification?
|
- [ ] Still @ERROR on scn-init, but no logs? - better persist error (write in SharedPrefs at error_$date=txt ?), also perhaps print first error line in scn-init notification?
|
||||||
|
|
||||||
|
- [ ] fix time format (in message-list, in card, top right) - midnight is shown as "24:05" instead of "00:05" - thats weird
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
# TODO iOS specific
|
# TODO iOS specific
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
class SenderNameStatistics {
|
class SenderNameStatistics {
|
||||||
final String name;
|
final String name;
|
||||||
final String ts_last;
|
final String lastTimestamp;
|
||||||
final String ts_first;
|
final String firstTimestamp;
|
||||||
final int count;
|
final int count;
|
||||||
|
|
||||||
const SenderNameStatistics({
|
const SenderNameStatistics({
|
||||||
required this.name,
|
required this.name,
|
||||||
required this.ts_last,
|
required this.lastTimestamp,
|
||||||
required this.ts_first,
|
required this.firstTimestamp,
|
||||||
required this.count,
|
required this.count,
|
||||||
});
|
});
|
||||||
|
|
||||||
factory SenderNameStatistics.fromJson(Map<String, dynamic> json) {
|
factory SenderNameStatistics.fromJson(Map<String, dynamic> json) {
|
||||||
return SenderNameStatistics(
|
return SenderNameStatistics(
|
||||||
name: json['name'] as String,
|
name: json['name'] as String,
|
||||||
ts_last: json['ts_last'] as String,
|
lastTimestamp: json['last_timestamp'] as String,
|
||||||
ts_first: json['ts_first'] as String,
|
firstTimestamp: json['first_timestamp'] as String,
|
||||||
count: json['count'] as int,
|
count: json['count'] as int,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -140,11 +140,13 @@ class _AccountLoginPageState extends State<AccountLoginPage> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final toks = await APIClient.getKeyTokenByToken(uid, stokv);
|
if (stokv != "") {
|
||||||
|
final toks = await APIClient.getKeyTokenByToken(uid, stokv);
|
||||||
|
|
||||||
if (!toks.allChannels || toks.permissions != 'CS') {
|
if (!toks.allChannels || toks.permissions != 'CS') {
|
||||||
Toaster.error("Error", 'Send token does not have required permissions');
|
Toaster.error("Error", 'Send token does not have required permissions');
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final user = await APIClient.getUser(DirectTokenSource(uid, atokv), uid);
|
final user = await APIClient.getUser(DirectTokenSource(uid, atokv), uid);
|
||||||
|
@ -60,19 +60,6 @@ class _DebugActionsPageState extends State<DebugActionsPage> {
|
|||||||
onPressed: () => Notifier.showLocalNotification('', 'TEST_CHANNEL', "Test Channel", "Channel for testing", "Hello World", "Local Notification test", null),
|
onPressed: () => Notifier.showLocalNotification('', 'TEST_CHANNEL', "Test Channel", "Channel for testing", "Hello World", "Local Notification test", null),
|
||||||
text: 'Show local notification',
|
text: 'Show local notification',
|
||||||
),
|
),
|
||||||
SizedBox(height: 20),
|
|
||||||
UI.button(
|
|
||||||
big: false,
|
|
||||||
onPressed: () => ApplicationLog.writeRawFailure('test', {
|
|
||||||
'text': "hello world",
|
|
||||||
'object': {
|
|
||||||
1: 2,
|
|
||||||
4: 5,
|
|
||||||
6: [7, 8, 9]
|
|
||||||
},
|
|
||||||
'trace': StackTrace.current
|
|
||||||
}),
|
|
||||||
text: 'asdf'),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user