Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ class _ButtonAndTextState extends State<_ButtonAndText> {
padding: const EdgeInsets.all(8),
child: Row(
children: [
Text(_text ?? widget.defaultText),
const Spacer(),
Expanded(child: Text(_text ?? widget.defaultText)),
const SizedBox(width: 8),
ElevatedButton(
onPressed: () async {
final result = await widget.onPressed();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public class FirebaseRemoteConfigPlugin: NSObject, FlutterPlugin, FlutterStreamH
}

public func didReinitializeFirebaseCore(_ completion: @escaping () -> Void) {
for listener in listenersMap.values {
listener.remove()
}
listenersMap.removeAll()
completion()
}

Expand Down
Loading