Skip to content

Conversation

@Ars5njo
Copy link

@Ars5njo Ars5njo commented Oct 9, 2025

Closes #9

@Ars5njo Ars5njo self-assigned this Oct 9, 2025
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('ru'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

почему решил убрать country code?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А для чего он нужен?


class ForegroundSwitchScreenState extends State<ForegroundSwitchScreen> {
// TODO back to 0 if stable
VisibleScreenType _stepper = VisibleScreenType.startButton;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

почему решил поменять?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Забыл обратно вернуть, верну

locale.translate("call_screen.current_output_device_text"),
labelBuilder: (item) =>
item.label ??
locale.translate("call_screen.dfl_speaker_text"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

на будущее - старайся не юзать такие сокращения

: WaveCircleButtonType.startCall,
subtitle: manager.inCall ? 'Leave Call' : 'Join Call',
subtitle: manager.inCall
? locale.translate("call_screen.leave_text")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave_call_text.. И так далее

String resolveStatusText(CallState callState) {
switch (callState) {
case CallState.connected:
return locale.translate('connection_screen.connected_text');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! text - пропустил
И так далее

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не понял, что ты имеешь ввиду. NullSafety пропустил здесь или что ты имеешь ввиду воскл знаком?

String resolveSubtitleText(CallState callState, bool? isPeerInitiator) {
switch (callState) {
case CallState.connected:
return locale.translate('connection_screen.success_connection_text');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

какой текст?..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants