mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 10:07:51 -06:00
24 lines
781 B
Dart
24 lines
781 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:paperless_mobile/core/widgets/dialog_utils/dialog_cancel_button.dart';
|
|
import 'package:paperless_mobile/core/widgets/dialog_utils/dialog_confirm_button.dart';
|
|
import 'package:paperless_mobile/generated/l10n/app_localizations.dart';
|
|
|
|
class SwitchAccountDialog extends StatelessWidget {
|
|
const SwitchAccountDialog({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return AlertDialog(
|
|
title: Text(S.of(context)!.switchAccountTitle),
|
|
content: Text(S.of(context)!.switchToNewAccount),
|
|
actions: [
|
|
const DialogCancelButton(),
|
|
DialogConfirmButton(
|
|
style: DialogConfirmButtonStyle.normal,
|
|
label: S.of(context)!.switchAccount,
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|