Stream Chatty added as example (#21)
* app updated * readme updated * rename base folder * update chatty's readme Co-authored-by: Neevash Ramdial <[email protected]>
This commit is contained in:
co-authored by
Neevash Ramdial
parent
c86652dcfc
commit
bd6bb66279
@@ -0,0 +1,15 @@
|
||||
import 'package:stream_chatter/data/persistent_storage_repository.dart';
|
||||
|
||||
class PersistentStorageLocalImpl extends PersistentStorageRepository {
|
||||
@override
|
||||
Future<bool> isDarkMode() async {
|
||||
await Future.delayed(const Duration(milliseconds: 50));
|
||||
return false;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> updateDarkMode(bool isDarkMode) async {
|
||||
await Future.delayed(const Duration(milliseconds: 50));
|
||||
return;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user